views:

25

answers:

0

I'm writing my own blog (every one should do this once) and the project for this week is to automatically send (trackback || pingback) requests to pages to which I am linking. I'm writing in ruby, but would also like general heuristics. I would like some advice on the following:

1) What is the best way to pull RDF out of a document when it is hidden by comments. (Can LibXML/nokogiri do this?)

2) If there is not an RDF tag what are some other ways to find a trackback URL (e.g. xpath('//a[.="trackback"]')