On 6/2/07, Sam Ruby <rubys intertwingly.net>
wrote:
> I'm confused. The feedparser should already resolve
all relative
> links. Can you provide an example where this does not
occur? You
> might find the following to be a handy way to see how
venus normalizes
> any given feed:
>
> python tests/reconstitute.py http://feeds.
feedburner.com/hicksdesign
This is very strange - that command shows me resolved image
links, but
my own planet install wasn't resolving them (the test suite
ran fine).
Here's the output without my filter (illustrating the
error):
htt
p://planet.oxfordgeeks.net/without-img-filter/
That's using this config file:
[Planet]
name = Planet Oxford Geeks
link = http://planet.oxfordge
eks.net/
owner_name = Simon Willison
owner_email = simon+planetoxfordgeeks...
# filters = absolute_img_paths.py
cache_directory = /home/simon/sites/oxfordgeeks.net/cache
log_level = ERROR
feed_timeout = 20
# output_theme: "theme" of the output
# output_dir: Directory to place output files
# items_per_page: How many items to put on each page
output_theme = classic_fancy
output_dir =
/home/simon/sites/planet.oxfordgeeks.net/htdocs/without-img-
filter
items_per_page = 60
# additional files to copy (note the wildcards!)
bill_of_materials:
thumbshots/#
# Options placed in the [DEFAULT] section provide defaults
for the feed
# sections. Placing a default here means you only need to
override the
# special cases later.
[DEFAULT]
# Hackergotchi default size.
# If we want to put a face alongside a feed, and it's this
size, we
# can omit these variables.
facewidth = 160
faceheight = 120
[http://
feeds.simonwillison.net/swn-everything]
name = Simon Willison
face = simonwillison.jpg
[http://feeds.feedb
urner.com/natbat]
name = Natalie Downe
face = natbat.jpg
[http://gag
ravarr.livejournal.com/data/atom]
name = Nick Burch
face = gagravarr.jpg
[http://www.thr
owingbeans.org/index.rdf]
name = Tom Dyson
face = throwingbeans.jpg
[http://www.jpstac
ey.info/blog/feed/]
name = JP Stacey
face = jpstacey.jpg
[http://blog.victori
ac.net/rss.xml]
name = Victoria Chan
face = victoriac.jpg
[http://feeds.
feedburner.com/hicksdesign]
name = Jon Hicks
face = hicksdesign.jpg
[http://matt.west.co.tt/f
eed/]
name = Matthew Westcott
face = westcott.jpg
[http://jonathan
leighton.com/feed/blog]
name = Jonathan Leighton
face = jonathanleighton.jpg
[http://polytechnic.c
o.uk/rss.xml]
name = Garrett Coakley
face = polytechnic.jpg
--
devel mailing list
devel lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
|