X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id DC90B9DD73F for ; Fri, 13 Jan 2006 14:34:44 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 62760-03 for ; Fri, 13 Jan 2006 14:34:40 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from bramble.mmrd.com (bramble.mmrd.com [65.217.53.66]) by postgresql.org (Postfix) with ESMTP id 18D1E9DD737 for ; Fri, 13 Jan 2006 14:34:37 -0400 (AST) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by bramble.mmrd.com (8.12.8/8.12.8) with ESMTP id k0DJKskB025538; Fri, 13 Jan 2006 14:20:54 -0500 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [10.225.10.110]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id k0DIYpC19967; Fri, 13 Jan 2006 13:34:51 -0500 Received: from [10.225.105.30] (10.225.105.30 [10.225.105.30]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id TWDAYFCH; Fri, 13 Jan 2006 13:34:48 -0500 Subject: Re: duplicate postings in planetpostgresql From: Robert Treat To: Devrim GUNDUZ Cc: blog@revsys.com, Devrim GUNDUZ , pgsql-www@postgresql.org In-Reply-To: <1137168799.3557.4.camel@evim.gunduz.org> References: <1137167868.28010.551.camel@camel> <1137168799.3557.4.camel@evim.gunduz.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 13 Jan 2006 13:34:22 -0500 Message-Id: <1137177272.28012.709.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.135 required=5 tests=[AWL=0.135] X-Spam-Score: 0.135 X-Spam-Level: X-Archive-Number: 200601/81 X-Sequence-Number: 9269 On Fri, 2006-01-13 at 11:13, Devrim GUNDUZ wrote: > Hi, > > On Fri, 2006-01-13 at 10:57 -0500, Robert Treat wrote: > > I think we have another case like David Wheelers where old blog posts > > are picking up in the feed as new entrys for the current date. This one > > is on Frank Wiles blog. I think last time it was an issue with the feed, > > not sure if thats the case here, can you look into it? If you need help > > ping me on irc :-) > > Actually there is no problem with that. I'm not a Python guy (yet) but I > think it is a "feature" of Planet code + the RSS feed itselt.I've posted > a test entry (will delete it now) and it appeared at the top. As we add > new people, they will appear at the top. > What I was more wondering about was that his initial post on planetplanet is actually three posts from his actual weblog, and none of them from today. When I looked at the planetplanet code I didn't see where it contained the knowledge to deduce that entries were showing up in planetplanet for the first time vs. subsequent articles, which makes me suspect that this is a bug of sorts. Well, this coupled with knowing that other feeds (mine-s9y, niel-advogato) do seem to have publishing dates in them. Course I am not a python guy (yet) either so I could be reading the code wrong. On Fri, 2006-01-13 at 11:12, Frank Wiles wrote: > I noticed this too and E-mailed Devrim about it just a few minutes > ago. As far as I know my feed is ok and has the proper dates in it, > as things show up just fine in RSS readers. The URL to the feed > is: > > http://www.revsys.com/rss/blog/postgresql/index.xml > > This static file is generated hourly which I believe is the date/time > planetpostgresql.org has listed as the date/time for all of my posts. > > I'm using Perl's XML::RSS module to generate the RSS and it doesn't > appear to have a method of inserting a pub date/time per post. Not > being an RSS expert I'm not sure if this is normal or not. > > If someone can point out what is wrong with my feed, if my feed is at > fault, I'll get it corrected right away. I don't know that your feed is busted (fwiw it does validate on its own merits), but when you generate your rss feed, are you specifying a date for the article? Have a look at http://search.cpan.org/~kellan/XML-RSS-1.05/lib/RSS.pm and the RSS 2.0 example, which contains both a pubDate and a lastBuildDate in it. Robert Treat -- Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL