David (dblume) wrote,
David
dblume

You've been feeded!

That's a pretty lame dis.  Maybe if I say it with more attitude: "You've been feeded, boyee!"

Ah, never mind.  Let me just publish one entry from the script's prefs file:

# yaml preferences for FeedMaker
# http://www.yaml.org/
# This file is read in and written by the FeedMaker python script
---
site:
  - url: http://www.[namewithheldtoprotecttheguiltyyouknowwhoyouare].com
    rss: [namewithheld].xml
    etag: None
    last_modified: Tue, 19 Sep 2006 06:45:28 GMT
    md5_tag: <span class="titleHd">
    md5: '\xa1KJ\r\xd6E\x03t\x03Fl>\xc7k\xcd\x08'


The script takes that in, checks the specified tag's content, spits out an rss feed, and updates three fields in the preferences: etag, last_modified (for bandwidth-friendly conditional GETs), and md5 (fingerprint of specified tag's data).  I've got two sites so far, but now I can at least have my machine easily monitor sites that don't publish their own feeds.
Tags: programming, python, web
Subscribe

  • My feed URL has changed

    If anyone here follows my personal blog with a feed reader, you'll have to change the feed URL manually. The old URL can't redirect to the new one.…

  • Progress on my Google+ and LJ backups

    Since Google is going to shut down Google+, I decided it was time to really make a home for my LiveJournal backup and my Google+ backup. Working…

  • In Case of Link-Rot

    If anything should happen to this journal, a backup of it should eventually appear at this location. I don't expect or plan for anything to happen…

  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments