David (dblume) wrote,

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
  - 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

  • 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…

  • Getting Shit Done

    I came across an old LifeHacker article Get Shit Done Blocks Distracting Web Sites So You Can Do As the Name Instructs, that mentions a productivity…

  • Happy Birthday, Me. I got you data portability!

    My list of addresses has made its way from a physical address book, to a Palm Pilot, to Microsoft Outlook, to Google Contacts to the iPhone Contacts…

  • Post a new comment


    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