I don't know about grabbing YouTube descriptions specifically, but you could write a function to grab the meta description from a page. No.
My site is about music, I'd want the user to put what a post sounds like, if it's a remix it'd sound like pop/hiphop. I'm using tags to list the title of the songs.
I'm using this script to grab the description and populate it in the submit2 fields http://911-need-code-help.blogspot.com/2010/01/retrieve-youtube-video-title.html
Eventhough tags can be used for anything you want, this sounds a little off. Can you give me an example of such submission ? BTW: Checked the database tables and the code. It is not possible to put a post in two categories, you would have to re-submit it in another category. (On the other hand tags are there for that kind of mode of operation as I told you before)
Hey guys, Would anyone know how to get Submit step 2 to check for and silently kill duplicate tags? It's an easy mistake for anyone to make and pulls a big ol' error when you do: Warning: Duplicate entry '294-TAG_NAME-1' for key 'tags_post_id' in /****/****/****/****.com/libs/extensions/ezSQL/mysql/ez_sql_mysql.php on line 264 It still submits the post, but lists multiple tag duplicates on the post page. Probably not a good thing. Thanks in advance, Mark.
Echocron, see this post: http://forums.hotarucms.org/showthread.php?283-Bookmarklet-0.2&p=7840#post7840
Hey guys, One of my linking partners (Maxim) has recently changed the formatting of their URLs, and its causing me some trouble when submitting (both manually, and with the rss auto submit thing). Here is an example URL : http://www.maxim.com/amg/SPORTS/Articles/This+Week+In+Weird+Sports:+Free+Style+Walking
I have similar problems. Some of the articles cannot be submitted. For example: http://news.ibox.bg/news/id_561988179 Other are submitted, but they URL addresses are cutted and this leads to problems - the URLs are not valid. Specially when they are written on Cyrillic - they become very longer and maybe some special characters are not accepted.
Another example with cutted URL: http://www.getstronger.biz/index.php/bg/Как-да-пиете-алкохол-без-да-се-напиете.html
Hey guys, I've got two unscrapeable URLs here also: This one pulls the same error as Terko's news.ibox.bg above (red error message "Nothing submitted..." and the URL form field alone underneath like submit step 1) I thought maybe it was because this example is in frames, but the news.ibox.bg site is not and has the same error. http://www.discountdance.com/dancewear/style_205C.html?&pid=2961&Shop=Style&SID=227409208 Also, the following address returns an entirely blank submit page 2 form like Gunaxin's example ("No Title Found" in title and no images or my clever description or tag scrape either.) http://www.anjolee.com/earrings/diamond-hoop-earrings/Flame-Shaped-Diamond-Hoop-Earrings.aspx Would anyone have any ideas? The metadata for all examples is present in their respective source codes (and in a standard fashion), just can't seem to grab it.
I've managed to fix one of the problems. Go to PHPMYADMIN and find posts, then edit the post_orig_url. It's Varchar 255. I've increased it to 450 and one of the longest URLs that are in Cyrillic and urlencoded becomes very, very long started to work. For example see how long is this URL PHP: http://getstronger.biz/index.php/bg/%D0%9A%D0%B0%D0%BA%D0%B2%D0%BE-%D1%81%D1%8A%D0%B4%D1%8A%D1%80%D0%B6%D0%B0-%D1%87%D0%B5%D1%81%D1%8A%D0%BD%D1%8A%D1%82-%D0%B8-%D0%B7%D0%B0%D1%89%D0%BE-%D0%B5-%D0%BF%D0%BE%D0%BB%D0%B5%D0%B7%D0%B5%D0%BD.html It's not so long when in Cyrillic, but when URLencoded it become huge. I didn't tested the other example with news.ibox.bg yet, but I will try now. Edit I've tested the url PHP: http://news.ibox.bg/news/id_1366190710 and it continue to not work. Nothing posted again. I made one attempt to see where is the problem. If I change _ to - in the address I can go to Step 2. So the problem is with "_" underscore. I don't know how to fix this. The good news is that with my Fix the article in Maxim also started to work End of edit
Terko, thanks for attempting to solve this problem. Your fix only works (as expected) on your super-long Cyrillic link, but is something we should all adjust to be prepared for long URLs. With the remaining links, we actually seem to have two problems here: The Maxim, news.ibox.bg and discountdance links seem to have URL problems. The scraper cannot recognize the special characters (_ +) in post/product pages - but if you try their 404 pages or homepages with no-nonsense urls, it works fine. Neither the product pages OR HOMEPAGES at Anjolee and GetStronger fetch any data however - indicating some other problem. Anyone else have any ideas?
Envir: submit 3.2, Hotaru 1.4.2 , Bug Priority low-medium tag field, I can enter the same tag multiple time for a post. Example, tag field, I enter aa, aa, aa, aa Those 4 aa are place into the Db. Data entry check for same or duplicate tag - aa, aa, aa, aa. Strip to avoid dup. Edit Mystermargue: Do not expect a solution base on the priority level I assign. I saw after I post to see your mention. Left it to say it exist and it is written to DB. Also, u had warning. I did not get warning to thus say it is different. Strip dup routine on tags needed. tx
Hey scrt, I posted about the same problem about a page back. No solution as yet. http://forums.hotarucms.org/showthread.php?54-Submit-3.2&p=9108#post9108
Your problems are related to the way Hotaru checks the title. Specifically, it's unable to parse these weird titles. Add the following line to SubmitFunctions.php above the line saying return $title at line no. 775 to alleviate the problem: $title = mb_convert_encoding($title, 'HTML-ENTITIES', "UTF-8");
Hello, I have few issue here, most of my members submit their main URL instead of blog post URL. Any ways to prevent this ?