Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'See comic subscriptions in NetNewsWire 2.0' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
See comic subscriptions in NetNewsWire 2.0
Authored by: on Dec 08, '05 05:16:50AM
Wouldn't cha know it. A year later, I find myself asking the same question. I took the time to hack up a version of the script just for 1994 Calvin & Hobbes:

# Created by Scott Morrison
# For personal use only

import sys,time,string

arguments = string.splitfields(sys.argv[1],"|");
comicDir = arguments[1];
comicImgStem= arguments[2];

print '<?xml version="1.0"?>'
print '<rss version="2.0" xmlns:dc="">'
print 't<channel>'
print 'tt<title>%s</title>'%comicName
print 'tt<generator></generator>'
print 'tt<link>http://localhost</link>'
print 'tt<language>en-us</language>';
print 'ttt<item>';
print 'tttt<title>%s for %s</title>'%(comicName,time.strftime("%A, %B %d, %Y"))
print 'tttt<link></link>'%comicDir;
print 'tttt<guid isPermaLink="false"></guid>'%comicDir;
print 'tttt<pubDate>%s</pubDate>' % time.strftime("%B %d, %Y")
print 'tttt<description><img src="" border="0" /></description>' %(comicImgStem,comicImgStem,time.strftime("%m%d"))
print 'ttt</item>';
print 't</channel>';
print '</rss>';
P.S.- I only changed this line:
print 'tttt' %(comicImgStem,comicImgStem,time.strftime("%m%d")) By hard coding in the 1994 and 94.

[ Reply to This | # ]