It’s just data

Show Me the Code!

Shelley Powers: Additionally, I would also like people to start putting their code online. This last week there was a great deal of discussion about the CITE tag and how it can be used to provide specialized processing. Well, that's great and good, but let's see the processing? Can we see the code that Mark used. Or Sam's code?

I publish the code for my weblog, such as it is.  Search for "cite" in blosxom.  The index page is generated by a separate script.  You can see the similarity between the two... given how quickly this was thrown together (I had no advanced knowledge of what Mark was working on), I did a bit of cut and paste instead of a proper refactoring.  Also note that contrary to popular belief, my implementation is not based on the cite tag.


Why thank you Sam!

Geez, we're going to have to start calling you "Sam, Sam. The RegEx Man!"

And duly noted, no CITE tag.

Posted by Burningbird at

I'm more proud of autoping.py... a unified trackback and pingback client, combining regex, sgml, AND sax, all in one relatively small script.

Both RDF and XMLRPC are also involved. I had to hold my nose for these parts. [running, ducking, and grinning ;-)]

Posted by Sam Ruby at

Hey, you ever watch South Park and Mr. Dinky?

Duck, Sam. Duck and run quickly!

Happy New Year!!

Posted by Burningbird at

I believe that's "Mr. Hanky".

Posted by Mark at

http://diveintomark.org/projects/misc/buildcitearchive.py.txt.

Posted by Mark at

Sam, your commenting system ate my URL. It should be .py.txt, but the .txt got stripped from both the link text and the link URL when you autolinked it. I've compensated on my end with a redirect, but just to let you know.

Posted by Mark at

Mark, bug has been squashed, and your comment has been corrected.

Posted by Sam Ruby at

Add your comment