List Info

Thread: subscribe to a planet from within planet venus?




subscribe to a planet from within planet venus?
user name
2006-12-22 16:58:13
I've been thinking of replacing my desktop feed reader with
a planet.
So I got the latest copy of Planet Venus this week, set it
up on my
webserver, and grabbed a random handful of feeds from my
reader, which
I added to the config, like so:

	[http://www.xkcd.com/rss.x
ml]
	name = xkcd

	[http://planet.mozi
lla.org/atom.xml]
	name = Planet Mozilla

	[http://www.
tbray.org/ongoing/ongoing.atom]
	name = Ongoing

	[http://ww
w.intertwingly.net/blog/index.atom]
	name = Sam Ruby

	[http://www.fra
nklinmint.fm/sayrer.atom]
	name = Robert Sayrer

	[http://www.penny-
arcade.com/rss.xml]
	name = Penny Arcade

	[http://www.deh
ora.net/journal/atom.xml]
	name = Bill de hÓra

The problem is, none of the Planet Mozilla entries make it
into my own
planet.  Now I understand that I could import the Planet
Mozilla OPML
into my planet or something, but it seems like a bug to me
that I
cannot just subscribe to the Planet Mozilla feed as I do in
my desktop
reader.

When creating my planet, I get the follwing output:

	INFO:planet.runner:Building work queue
	INFO:planet.runner:Updating feed http://ww
w.intertwingly.net/blog/index.atom
	INFO:planet.runner:Feed http://www.deh
ora.net/journal/atom.xml unchanged
	INFO:planet.runner:Feed http://www.
tbray.org/ongoing/ongoing.atom unchanged
	INFO:planet.runner:Updating feed http://www.penny-
arcade.com/rss.xml
	INFO:planet.runner:Updating feed http://planet.mozi
lla.org/atom.xml
	INFO:planet.runner:Feed http://www.xkcd.com/rss.x
ml unchanged
	INFO:planet.runner:Feed http://www.fra
nklinmint.fm/sayrer.atom unchanged
	INFO:planet.runner:Loading cached data

So, it does actually spider the planet.mozilla.org feed, and
looking
in my cache directory I see it did download all of the
mozilla
entries.  I'm still trying to learn python, but it seems to
me like
somewhere around lines 50-100 in planet/splice.py the entry
URLs are
being compared against the subscription URL and because they
don't
match they are being ignored?  So this problem might apply
to any feed
that contains composite entries from multiple sources?

-Kevin
-- 
devel mailing list
devellists.planetplanet.org

http://lists.planetplanet.org/mailman/listinfo/devel
subscribe to a planet from within planet venus?
user name
2006-12-27 20:41:44
Kevin Hamilton wrote:
> 
> So, it does actually spider the planet.mozilla.org
feed, and looking
> in my cache directory I see it did download all of the
mozilla
> entries.  I'm still trying to learn python, but it
seems to me like
> somewhere around lines 50-100 in planet/splice.py the
entry URLs are
> being compared against the subscription URL and because
they don't
> match they are being ignored?  So this problem might
apply to any feed
> that contains composite entries from multiple sources?

Yep.  Now fixed.  I've also pulled in Joe's two branches.

Now when a feed which contains entries from multiple sources
is fetched, 
both the original source, and the source that you used to
fetch this 
feed from are recorded in the cache.

The reason for this logic is to enable one to unsubscribe
from a feed.

- Sam Ruby
-- 
devel mailing list
devellists.planetplanet.org

http://lists.planetplanet.org/mailman/listinfo/devel
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )