2011-05-11, 05:06 PM
Done...!! Thanks Aries-Belgium
Now the only problem is duplicate feed posts, I hope it will resolve soon.
Now the only problem is duplicate feed posts, I hope it will resolve soon.
Youtube Channel's Videos via RSS Feed Poster?
|
2011-05-11, 05:06 PM
Done...!! Thanks Aries-Belgium
Now the only problem is duplicate feed posts, I hope it will resolve soon.
2011-05-11, 05:24 PM
2011-05-11, 07:09 PM
Creating duplicate threads Particularly with Youtube Channel's Feeds.
Feed URL:
Update every x minutes = 100 Number of items to import each update = 10 If the plugin did not find new feed content for 100 minutes, it posts at least 2 or 3 feeds again randomly.
2011-05-13, 09:42 AM
(This post was last modified: 2011-05-13, 11:08 AM by Aries-Belgium.)
Okay, the plugin will look at the title in combination with the description. If the author of the video changes the title or the description, the plugin sees it as new feeds. With Youtube that's always the case because Youtube also adds the amount of views a video has had. If the video is viewed even once again after you fetched the video from the feed, the plugin will think it's a different video because the description has changed.
It's much better to use the guid (=global unique identifier) or the link (if available) to identify the feed item. Make these change to the file /inc/tasks/rssfeedposter.php. Search for Replace with: Search for: Add below:
Caution: this will cause all your feeds to be fetched again because the guid or link is never used before to identify a feed item.
Aries-Belgium, I applied the above code modification and have seen two improvements.
1) Now fetching accurate thread title. 2) Duplicate feed posts has been minimize from 20% to 8%. Even i created new feed channel and new forum but sometimes it is grabbing duplicate feeds.
2011-05-15, 07:59 AM
What feeds are still the problem?
2011-05-15, 11:47 AM
All youtube channel feeds still creating duplicate threads.
Before applying the GUID code youtube feeds were cutting-off the thread titles, GUID code resolves that issue. I don't know why this is happening.
2011-05-15, 11:51 AM
Did you see my notice that all feeds will probably create duplicate threads if you already have the thread and the item is still in the feed because it never checked the GUID before? This should eventually disappear completely.
Yes, i read that notice.
After reading that notice i create a new feed Item for a new youtube feeds channel but that is also causing duplicate threads. This is new forum which i created for new feeds.
Search for: Add below:
---Check This Code Again--- case "LINK": $data = trim($data); $context['feeditems'][$feedcount]['link'] .= $data; IF (empty($data) && isset($tag_attrs['HREF'])) $context['feeditems'][$feedcount]['link'] .= $tag_attrs['HREF']; break; case "GUID": $data = trim($data); $context['feeditems'][$feedcount]['guid'] = $data; break; The rssfeedposter.php file is attached for your consideration. rssfeedposter.zip (Size: 3.68 KB / Downloads: 104) |
« Next Oldest | Next Newest »
|