[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [syndication] Aggregating your global content output into your blog
- To: syndication@yahoogroups.com
- Subject: Re: [syndication] Aggregating your global content output into your blog
- From: Morbus Iff <morbus@disobey.com>
- Date: Tue, 03 Jun 2003 14:04:13 -0400
- In-reply-to: <01ae01c329eb$d20e45f0$6501a8c0@VAIO>
- References: <wZoTW$A8tF3+EA+S@jblaptop.voidstar.com> <p06001201bb0230f7493f@[63.173.138.175]> <015801c329c6$99de4510$6501a8c0@VAIO> <p06001200bb024d5af060@[63.173.138.175]>
>Of course today it just graduated from being a It Works For Me tool to being
>the latter kind (not sure what they're called). Aside from that, I think
>that MetaWeblog API support is one of those things that isn't all screwed
>up, and your script probably works pretty well with other tools that support
>it. And the dc:date requirement would be easy to erase, no? Dave
Exactly, to both questions.
The Net::Blogger module that the script uses can hook into the two (?)
weblog APIs, and includes "engines" for Radio Userland, Blogger, Movable
Type. Changing the script to use those engines would be a simple matter, at
the loss of metaWeblogAPI functionality (the extent of which, I don't
really know. I think it means losing category support, which isn't a major
issue: just never use --catid, -c, or --showcategories and you'll be fine).
As for supporting <pubDate>, that'd be relatively easy as well, best
facilitated by the use of a better Date formatting module as opposed to the
ugly manual creation I do (and admit to) now:
# and store today's date for comparison.
# who needs the stinkin' Date:: modules?!
my ($day, $month, $year) = ((localtime)[3, 4, 5]);
$year+=1900; $month = sprintf("%02.0d", ++$month);
$day = sprintf("%02.0d", $day); # zero-padding.
my $today = "$year-$month-$day"; # final version.
If you wanted to *remove any date requirement*, that'd take some more
effort, primarily a local store of what you've seen/published. I won't add
that in anytime soon, cos the only feeds *I I I I* cared about in the
creation of the script were mine, which all contain <dc:date>'s, sending me
screaming back to the mantra of "It Works For Me, And Not The Masses":
http://www.russellbeattie.com/notebook/20030213.html
--
Morbus Iff ( i put the demon back in codemonkey )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Buy My Book! http://amazon.com/exec/obidos/ASIN/0596004605/disobeycom
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus