Posts Tagged ‘blog’

Example perl code to parse ‘Share your OPML’

Wednesday, January 21st, 2004

I can’t believe no one has contributed example perl code to play with
Dave Winer’s Share your OPML’.

href="http://www.nozell.com/marc/blog/data/example-share-your-opml.TXT">
Here is my contribution.

=====

NAME
example-share-your-opml.pl

SYNOPSIS
Example perl that obtains opml from Dave Winer’s “Share your OPML” site
(http://feeds.scripting.com),
parses it and puts the info into an simple sqlite database.

VERSION
0.1

AUTHOR
Marc Nozell , http://www.nozell.com/blog

USAGE
$ ./example-share-your-opml.pl

$ sqlite opml.db

sqlite> select person, url from users where person like “%_Nozell”;

person url

Marc Nozell http://cyber.law.harvard.edu/blogs/opml/users/fef39f0cebade
2b96b037dedba86ba7a.opml

sqlite> .quit

$

Setup
Prior to running the script, you need to set up a sqlite database. The
steps are as follows:

$ sqlite opml.db

sqlite> create table users (userid integer primary key, person text,
ctupdates text, type text, url
text, lastupdate text);

sqlite> .quit

SEE ALSO
SDK for ‘Share Your OPML’ http://feeds.scripting.com/sdk

Marc Nozell’s mini-blog http://www.nozell.com/blog

BUGS
If you find some, send them to marc@nozell.com and maybe I’ll look at it
. Maybe.

LICENSE
This work is hereby released into the Public Domain. To view a copy of t
he public domain dedication,
visit http://creativecommons.org/licenses/publicdomain/ or send a letter
to Creative Commons, 559 Nathan
Abbott Way, Stanford, California 94305, USA.
=====

Using a proxy server with liferea (0.4.7 cvs) and KDE desktop

Thursday, January 15th, 2004

liferea and uses the global GNOME configuration to find the proxy
server to use. Since I prefer to use KDE, setting those values is
problematic.

My proxy server is running on localhost:8080, so I needed to edit the
file ~/.gconf/system/http_proxy/%gconf.xml to make it look like this:

<?xml version="1.0"?>
<gconf>
<entry name="use_http_proxy"
        mtime="1072573677" muser="marc" type="bool" value="true"/>
<entry name="port" mtime="1072573677"
        muser="marc" type="int" value="8080"/>
<entry name="host" mtime="1063901920"
        muser="marc" type="string"><stringvalue>localhost</stringva
lue></entry>
</gconf>

Hope that helps someone…

Trying out a new RSS Aggregator

Sunday, January 11th, 2004

I’ve been messing around with Dave Winer’s new href="http://feeds.scripting.com">OPML sharing site and adding a
bunch of feeds to href="http://www.disobey.com/amphetadesk">Amphetadesk/AmphetaOutline.
For some reason it isn’t showing a bunch of sites as having new news
(come on, nothing from fark.com in 3
hours!?)

This evening on got some email from the author of href="http://liferea.sourceforge.net">liferea who said he had
fixed a problem with the HTTP headers of my server and recommended
trying out the version (0.4.7) from CVS. It works! Thanks Lars!

So, I’m going to switch for a week to liferea exclusively and see how
that goes.

One thing that I’m going to miss is one click to add a feed from href="http://feeds.scripting.com">feeds.scripting.com to my
aggregator. I don’t see how liferea could insinuate itself into the
mix.

Dave Winer’s latest experiment — Sharing OPMLs

Saturday, January 3rd, 2004

Cruise over to href="http://feeds.scripting.com">feeds.scripting.com and check
out his new hack of sharing/aggregating/exploring of OPMLs (aka XML
formatted list of RSS/XML/RDF/etc feeds)

If you are using AmphetaDesk, go
to the ‘Coffee Mug Prefs’ section and change the template to be this:

http://127.0.0.1:8888/index.html?add_url=[[xmlUrl]]

and you can just click on the coffee mug and have it automatically
added to *your* AmphetaDesk OPML.

Trying out various RSS clients

Thursday, January 1st, 2004

Tonight I’ve been playing around with various GNU/Linux-based RSS
clients.

* liferea v0.4.5
C-based, gnome interface, Three paned interface, read in either the
pane or click to load in a browser. Over all pretty nice but
occasional hangs and some RSS that validate aren’t recognised (like
mine). If would be helpful to give a clue why it wasn’t accepted.
It doesn’t import my amphetadesk opml file.
* rssowl v0.63b
Java-based with SWT graphics libraries so it looks more like a
modern GUI, three paned interface. No way to import opml files at
the moment, it is only alpha quality release, so that is
understandable. It comes with a nice list of RSS feeds. This app
does parse my RSS feed, but displayes the HTML markup in the reading
area.
* syndigator v0.12
perl-based with GTK/Gnome style interface. Imported my amphetadesk
opml and parsed my RSS feed. Like rssowl, sometimes it displays
HTML in the text. Hmm, perhaps it is blosxom’s RSS output that needs
looking at. It still seems a bit young in in the GUI — the
keyboard access is a bit lacking and while updating feeds is laggy.

There best of the crop so far is liferea, but I may stick with the
web-based/perl amphetadesk (with
amphetaoutline theme) for a while longer. Anyone have some
suggestions?

Time to clean up the blog

Monday, December 29th, 2003

I’m on vacation this week and going to find time to do some clean up
of my blog.

It should all be unseen to the reader, but this will now use some
handy blosxom plugins – meta, entries_index_tagged,
strip_unix_comments, texrite, theme and better support for rss, rss10,
atom. (liferea doesn’t validate m
y rss feed
which is the real impetus for this)

2003-12-18 Bloggercon irc transcript is here

Thursday, December 18th, 2003

More from href="http://blogs.law.harvard.edu/thursdays">Berkman Thursdays
meetings webcast/irc chat. href="http://www.nozell.com/marc/blog/data/2003-12-18-bloggercon-irc-log.TXT">G
rab
the IRC log if you want it

2003-12-11 Bloggercon irc transcript is here

Thursday, December 11th, 2003

More from href="http://blogs.law.harvard.edu/thursdays">Berkman Thursdays
meetings webcast/irc chat. href="http://www.nozell.com/marc/blog/data/2003-12-11-bloggercon-irc-log.TXT">G
rab
the IRC log if you want it

2003-12-04 Bloggercon irc transcript is here

Thursday, December 4th, 2003

I listened in via realplayer and was in IRC during href="http://archive.scripting.com/2003/12/04">Dave Winer’s href="http://blogs.law.harvard.edu/thursdays">Thursday blogger
meetings. href="http://www.nozell.com/marc/blog/data/2003-12-04-bloggercon-irc-log.TXT">G
rab
the IRC log if you want it

Updated to blosxom 2.0

Wednesday, July 23rd, 2003

The update from blosxom 2.0rc3
was pretty painless. There were only a couple plugins (clicktrack,
breadcrumbs) that were newer than what I was running.

Great job Rael!