On 21/01/2020 19:31, Ken Fallon wrote:

> I was planning on using the wonders of bash to hack the first version.
> 
> Has anyone any design idea for the look of the site ? Css etc.

There's a new version of the JSON attached. The Perl module I'm using to
gather feed data (XML::Feed) is confused when feeds have two or more
<image> tags. The RSS spec permits only one. The module (actually
XML::RSS which is called by it) returns "ARRAY(...)" in front of the
image URL when this happens, but I've cleaned this out the current JSON
until I can find a better solution.

The script that does this stuff gathers feed information and stashes it
in a SQLite database, and the JSON is created from a query against this
snapshot. The plan was to incorporate the templating system "Template
Toolkit" so it'd be possible to run the script against any of a number
of templates and generate text or HTML as required. I have partly
achieved this today and have some very very basic HTML to send to Ken
for his feedback.

Dave

Attachment: feedWatcher.json
Description: application/json

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Hpr mailing list
[email protected]
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org

Reply via email to