Gallery Feed vs Twitterfeed is updating every hour

Gallery Feed vs Twitterfeed is updating every hour

Postby David » Mon Aug 22, 2011 10:30 am

Gallery Version: 1.1.2
phpBB Version: 3.0.9
Gallery-Link: http://www.watisnf.nl/forum/gallery/

PHP Version: 5.3.6
Database Version: 5.5.13


Error message:

Error description and message
Hi,

I added the gallery feed to my Twitter-feeds. But there is one problem, He's saying every hour that the last picture is new. Every hour the same tweet about the same picture. I don't have much knowledge about feeds... I'm wondering of you know what the problem can be?

Greetings,
David
A Dutch website about a chronicle disease, named Neurofibromatosis:
Neurofibromatosis website
User avatar
David
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Tue Aug 16, 2011 2:53 pm
Location: Netherlands
phpBB.com: watisnf.nl

Re: Gallery Feed vs Twitterfeed is updating every hour

Postby nickvergessen » Mon Aug 22, 2011 11:34 am

Well, I don't know much about feeds, so I tried to almost copy the phpbb feed system.
I don't know why it does that, but i will try to have a look at it.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Gallery Feed vs Twitterfeed is updating every hour

Postby David » Mon Aug 22, 2011 12:17 pm

Thanks that would be nice :)
A Dutch website about a chronicle disease, named Neurofibromatosis:
Neurofibromatosis website
User avatar
David
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Tue Aug 16, 2011 2:53 pm
Location: Netherlands
phpBB.com: watisnf.nl

Re: Gallery Feed vs Twitterfeed is updating every hour

Postby nickvergessen » Mon Aug 22, 2011 1:10 pm

Code: Select all
header("Last-Modified: " . gmdate('D, d M Y H:i:s', $this->feed_time) . ' GMT');

Is always set with the last image time, so I don't really know whats wrong.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Gallery Feed vs Twitterfeed is updating every hour

Postby Derky » Mon Aug 22, 2011 1:37 pm

You don't have an <id> or <guid> to distinct every <item>. For an Atom feed you should have <id>.
http://validator.w3.org/feed/check.cgi? ... 2Ffeed.php

Services like TwitterFeed compare these IDs to detect new items. ;)
User avatar
Derky
Donator
Donator
 
Posts: 17
Topics: 2
Images: 0
Joined: Sat Jan 26, 2008 6:25 pm
phpBB.de: Derky
phpBB.com: Derky

Re: Gallery Feed vs Twitterfeed is updating every hour

Postby nickvergessen » Mon Aug 22, 2011 2:05 pm

Could one of you post that into the tracker?
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Gallery Feed vs Twitterfeed is updating every hour

Postby Derky » Mon Aug 22, 2011 2:34 pm

Done #870
:)
User avatar
Derky
Donator
Donator
 
Posts: 17
Topics: 2
Images: 0
Joined: Sat Jan 26, 2008 6:25 pm
phpBB.de: Derky
phpBB.com: Derky

Re: Gallery Feed vs Twitterfeed is updating every hour

Postby David » Mon Aug 22, 2011 3:55 pm

Thanks Derky for indicating the problem, and putting it in the tracker.
A Dutch website about a chronicle disease, named Neurofibromatosis:
Neurofibromatosis website
User avatar
David
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Tue Aug 16, 2011 2:53 pm
Location: Netherlands
phpBB.com: watisnf.nl

Re: Gallery Feed vs Twitterfeed is updating every hour

Postby David » Fri Sep 02, 2011 9:37 pm

I updated tot 1.1.3, But I having the same problem whit Twitterfeed... He still thinks the last image is new and he keeps updating. :? It's not a big problem, but would be happy if it works :mrgreen:
A Dutch website about a chronicle disease, named Neurofibromatosis:
Neurofibromatosis website
User avatar
David
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Tue Aug 16, 2011 2:53 pm
Location: Netherlands
phpBB.com: watisnf.nl

Re: Gallery Feed vs Twitterfeed is updating every hour

Postby nickvergessen » Fri Sep 02, 2011 10:58 pm

Q. twitterfeed says "We couldn't find valid date/time stamps or GUIDs on items" wrote:There are two methods twitterfeed can use to determine if an item in a feed is new, and should be posted to twitter - by default this is done through the date/time that a blog post has been published, or (if you select the "Post new items based on ... GUID" option in the twitterfeed "advanced settings"), by a unique ID on each blog post. Which one you want to use depends a little on the type of RSS feed you have, but twitterfeed requires at least one of the two to be present in the feed - if neither are present, there is no way to tell if an item in a feed is new, and should be posted.

You need to manually switch the setting to GUID
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Next

Return to Installation & Update

Who is online

Users browsing this forum: No registered users and 1 guest