Posted by Johann Hφchtl on 01/18/08 15:53
Hello!
How can a plug in parse additional information in a web page? For
example there is a telephone number embeded. The Skype plugin tries to
guess, or even better, analyses the received (x)html for
<!-- sphoneid telnr="+15551234456" fileas="John Smith" -->(555) 1234
456<!-- sphoneid -->
This is fine for a single item. How would I annotate compound elements?
Two ideas:
* A CSS-class to parse for
* a custom XML tag (for xhtml)
I do not know wheather the second is actually possible. Can I
intermangle xhtml with another namespace for successfulf rendering in a
browser?
Regards, Johann
Navigation:
[Reply to this message]
|