From bobdc at snee.com Wed Mar 5 23:25:53 2003 From: bobdc at snee.com (Bob DuCharme) Date: Thu Mar 6 04:26:13 2003 Subject: [xml-h] backlinking code, sort of Message-ID: <3E66CDD1.9060903@snee.com> I just figured out a neat trick. You know how a key complaint of Old Hypertext Guys about the web is that the links should be bidirectional? Of course, two pairs of elements would do it, but here's a sort-of 1-to-many indirect backlink: paste the following onto a page that you know is the destination of some links: Backlink It triggers a Google search for pages that link to the page with that link. I was hoping to add some parameter equivalent of their "I'm Feeling Lucky" option so that clicking the link would take you directly to the top Google-ranked page links to the page with the above a element, but couldn't figure it out. I did, though, find this cool reference to Google parameters: http://cpsearch.calpoly.edu/helpdocs/dev_assistance.html#request_parameters Bob DuCharme www.snee.com/bob "The elements be kind to thee, and make thy spirits all of comfort!" Anthony and Cleopatra, III ii (NOTE: bobdc e-mail address used only for mailing lists; please send private e-mail to bob@) From Nik.Barron at pennantplc.co.uk Thu Mar 6 08:16:55 2003 From: Nik.Barron at pennantplc.co.uk (Nik Barron) Date: Thu Mar 6 08:17:12 2003 Subject: [xml-h] backlinking code, sort of Message-ID: > I just figured out a neat trick. You know how a key complaint of Old > Hypertext Guys about the web is that the links should be > bidirectional? Well, as a young-ish old hypertext guy... :-) That's a nice hack, but there are a couple of limitations: 1. It assumes that the system has access to the web and is known to Google. Not much use in private hypertext systems (safety critical or security sensitive docs for example). 2. It doesn't really give you a "real" bidirectional link, more of a "shotgun" back link, which may not be what you want (depends on the scenario of course). Still, neat idea that I'm sure will come in useful for a lot of people! Nik From bobdc at snee.com Tue Mar 11 08:44:22 2003 From: bobdc at snee.com (Bob DuCharme) Date: Tue Mar 11 13:44:40 2003 Subject: [xml-h] prototyping 1-to-many links Message-ID: <3E6DE836.8040500@snee.com> Those of you who haven't seen it may want to check out something I did at XML.com called "Prototyping One-to-many links with XSLT" (http://www.xml.com/pub/a/2003/03/05/tr.html). To quote the last paragraph, "How do you think one-to-many links should be represented? What's your favorite code for implementing them? Try using XSLT to convert your fantasy link markup to your favorite JavaScript (or ASP, or...) UI tricks, and then let me and everyone else on the xml-hypertext mailing list (http://lists.usefulinc.com/mailman/listinfo/xml-hypertext) know how it goes. Maybe your prototype will convince the folks behind Mozilla, Internet Explorer, and Opera that they should implement your linking architecture natively." Bob From simonstl at simonstl.com Tue Mar 25 11:18:06 2003 From: simonstl at simonstl.com (Simon St.Laurent) Date: Tue Mar 25 16:16:47 2003 Subject: [xml-h] XPointer RECs Message-ID: The W3C has published the XPointer Framework, XPointer element() Scheme, and XPointer xmlns() Scheme as W3C Recommendations: http://www.w3.org/TR/ >From the Framework: "This specification defines the XML Pointer Language (XPointer) Framework, an extensible system for XML addressing that underlies additional XPointer scheme specifications. The framework is intended to be used as a basis for fragment identifiers for any resource whose Internet media type is one of text/xml, application/xml, text/xml-external-parsed-entity, or application/xml-external-parsed-entity. Other XML-based media types are also encouraged to use this framework in defining their own fragment identifier languages." -- Simon St.Laurent Ring around the content, a pocket full of brackets Errors, errors, all fall down! http://simonstl.com -- http://monasticxml.org