#135: Add RSS Feed Box to front page
--------------------------+-------------------------------------------------
Reporter: jblayloc | Owner: jblayloc
Type: enhancement | Status: in_merge
Priority: minor | Milestone:
Component: *general* | Version:
Resolution: | Keywords: INSPIRE NEWS
--------------------------+-------------------------------------------------
Changes (by jblayloc):
* status: assigned => in_merge
* component: WebStyle => *general*
Comment:
Ok, this is rolled out on my host, liblin10.slac.stanford.edu, and appears
to be working well there.
The working code is in my branch 'trac-135' of my inspire repository, with
head at commit 782824b1ffc. To install, check out that branch and do a:
sudo -u apache make install && sudo -u apache make install-dbchanges
and then add the script feedboxes/inspire_update_feedboxes.py to crontab
with a line such as this:
5,17,29,41,53 * * * * /path/to/inspire_update_feedboxes.py -d
Note the -d; that's the bit that makes it actually write the database.
Run it without any command-line parameters for help. Combined with the
webcoll run at 5 minute intervals that everyone's supposed to already
have, the above crontab line should keep the front page reasonably up to
date from the following URLs:
* http://invenio-
software.org/query?status=assigned&status=in_merge&status=in_work&status=new&keywords=INSPIRE+NEWS&format=rss&col=id&col=summary&col=owner&col=type&col=priority&col=milestone&col=component&order=priority
(marked "current work")
* http://invenio-
software.org/query?status=closed&status=in_merge&keywords=INSPIRE+NEWS&format=rss&order=priority
(marked "recently finished work")
So far as I can tell, the code is ready to go. I suggest deployment on
test and eyeballing it for aesthetics. Once we get the pixel-pushing
worked out, then it can go straight to prod.
--
Ticket URL: <http://cdswaredev.cern.ch/invenio/ticket/135#comment:2>
Invenio <http://invenio-software.org>