Monday, February 09

Geek

P-p-p-parsers

The Ping module has been coded and backported to 1.1, and is in testing.

Trackbacks are fairly simple in principle, until you get to autodiscovery.

With autodiscovery, I have to -
  • Parse any markup in the post (BBCode, Textile, Markdown, Creole, reStructuredText*) to generate pure HTML
  • Parse the HTML to extract links
  • Parse the links to distinguish links to media and files from links to web pages
  • Parse the web pages to find the RDF trackback data (which is likely to be in a comment, so an HTML parser won't even see it)
  • Parse the RDF data for the trackback URL
  • Actually send the ping
  • Parse the XML response
Bleh.

* Yes, there's lots of goodies coming up.

Posted by: Pixy Misa at 02:05 PM | Comments (3) | Add Comment | Trackbacks (Suck)
Post contains 112 words, total size 1 kb.

1
How far north are the fires?
How far south are the floods?
I'm guessing by the level of desperation and fear in your post that they are canceling each other out near Sydney.

(Which is a good thing to be sure)

Posted by: The Brickmuppet at Monday, February 09 2009 05:11 PM (73lWn)

2 There are some fires in Sydney's northern suburbs, a few miles from where I live, but they're small and under control.

The floods are a long way away, fortunately. smile

Posted by: Pixy Misa at Tuesday, February 10 2009 03:56 AM (PiXy!)

3 Very glad to hear you aren't being chased by flames.  We've had to deal with too much water far too often so I'm glad you're well away from the flooding too. Whew. 

Posted by: Teresa at Tuesday, February 10 2009 03:09 PM (ybEr8)

Hide Comments | Add Comment

Comments are disabled. Post is locked.
46kb generated in CPU 0.0156, elapsed 0.1061 seconds.
56 queries taking 0.0965 seconds, 329 records returned.
Powered by Minx 1.1.6c-pink.