[tor-bugs] #8275 [Website]: Add blog feed to tpo homepage
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Sep 20 21:01:30 UTC 2014
#8275: Add blog feed to tpo homepage
-----------------------------+----------------------
Reporter: jmtodaro | Owner: jmtodaro
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: Website | Version:
Resolution: | Keywords: blog
Actual Points: | Parent ID:
Points: |
-----------------------------+----------------------
Comment (by jmtodaro):
I've taken a fresh look at this ticket and come up with workable code.
I've inserted a perl construct into index.wml that will hit the rss feed
any time it is recompiled. However, I did have to install "libxml-rss-
perl" and it's dependencies before the site would compile (I used XML::RSS
to parse the feed).
If this is an issue, we can still do this using only LWP::Simple (assuming
it is available) and crawling the page directly for the data, but this
will require tweaking if the html formatting of the blog changes (i.e. if
we switch blog platforms it would likely need fixing).
I have a test page here: http://jmtodaro.com/tor-blogwidget
And the code is available here: http://github.com/jmtodaro/tor-blogwidget
I am also attaching a patch in case you want to give it a go.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8275#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list