[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #8275 [Website]: Add blog feed to tpo homepage
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs