Skip to main content
Purple Include Update
- I integrated Purple Include and Blogger
- I pushed a small new update today that fixes some address parsing bugs for complex XPath 2.0 expressions -- these are automatically on the server, so you don't have to do anything. I also updated the JavaScript to ease the Blogger integration a bit (added some extra styling to the spinner image and a class name)
- I forgot to mention in my post yesterday that Purple Include can now take XPath 2.0 expressions (the old one could only do XPath 1.0 stuff)
- Purple Include works on the iPhone!
Comments
Judging by at least your own ATOM feed in the example post, this should be perfectly doable, as at least Blogger does not seem to screen away the non-standard purple href attributes, so there would be something for this purple to plain feed translator to consume.
Smallish notes re: your js include: if the commented-out section using cross browser techniques to attach to the load event don't work, it's perhaps because you did not chain your if cascade as else ifs. I think I'd just go with the .onload hack, and call the prior onload function last, expunging the rest.
I also think it would be good form, and better the web, if rendering a purple link adds a tiny hover # link on the side that references the exact link that was pulled in.
These would then be clickable for people running hacks or browser enhancements like my (admittedly rather quick and dirty) xpath bookmarks user script of some time ago.
Great work, by the way! I love your agendas for the web, this one, as much as all the others.