Bob, where/how are you seeing the get-cal.php URLs and using which browser?
If your enter your URL to convert/subscribe in the first input box on http://h2vx.com/ics/ you should automatically see the direct link or HTML code autogenerated below it while you type. Tantek -----Original Message----- From: Bob Jonkman <[email protected]> Date: Mon, 09 Nov 2009 19:58:05 To: Microformats Discuss<[email protected]> Subject: Re: [uf-discuss] H2VX combines multiple fragment identifiers Thanx, Tantek! Escaping only the '#' wasn't sufficient, but escaping all non-alpha did the trick for the download URL: http://h2vx.com/ics/get-cal.php?uri=http%3A%2F%2Fexample.com%2F%23meeting1 The problem still exists with the subscribe URL, tho. It's the same escaped URL, appended with &subscribe=Subscribe : http://h2vx.com/ics/get-cal.php?uri=http%3A%2F%2Fexample.com%2F%23meeting1&subscribe=Subscribe (which looks like &subscribe=Subscribe in HTML) When I refresh the link in Thunderbird Lighting it still shows both meetings. Evolution strips off fragment identifiers and the &subscribe=Subscribe parameter, and changes http:// to webcal:// Nothing appears in the calendar (but there's no error either). Google Calendar returns the error "Could not fetch the url because robots.txt prevents us from crawling the url." FWIW, as a Web page author I find the H2XV site a bit awkward to use -- it's difficult to find the URLs to use in my Web page. As an end-user it fine to have the H2VX bookmarklets in my toolbar, but as a page author I can't be sure everyone has the bookmarklets or Operator installed. (added to http://microformats.org/wiki/h2vx#feedback ) --Bob. Tantek Celik wrote: > Bob, try using the UI at http://h2vx.com/ics/ to create the download link - > it will escape the # in the URL correctly. > > Tantek > > -----Original Message----- > From: Bob Jonkman <[email protected]> > Date: Mon, 09 Nov 2009 17:59:13 > To: Microformats Discuss<[email protected]> > Subject: [uf-discuss] H2VX combines multiple fragment identifiers > > Hi: I have two meetings on a web page, identified with > > <div id="meeting1" class="vevent"> > ... > </div> > > <div id="meeting2" class="vevent"> > ... > </div> > > > I want to use h2vx to create the .ics for only the first meeting: > > <a > href="http://h2vx.com/ics/get-cal.php?uri=http://example.com/#meeting1"> > Download hCalendar.ics file > </a> > > But the hCalendar.ics file contains both meetings. > > Does H2VX support fragment identifiers? If not, I'd like to submit a > feature enhancement request... I seem to recall successfully doing this > with Brian Suda's X2V, but not with Technorati's service. > > Real-world example is at http://sobac.com/pvgp/ > > Thanx, > --Bob. > > _______________________________________________ microformats-discuss mailing list [email protected] http://microformats.org/mailman/listinfo/microformats-discuss _______________________________________________ microformats-discuss mailing list [email protected] http://microformats.org/mailman/listinfo/microformats-discuss
