[uf-discuss] H2VX combines multiple fragment identifiers

Bob Jonkman bjonkman at sobac.com
Mon Nov 9 16:58:05 PST 2009

Thanx, Tantek! Escaping only the '#' wasn't sufficient, but escaping all 
non-alpha did the trick for the download URL:


The problem still exists with the subscribe URL, tho.  It's the same 
escaped URL, appended with   &subscribe=Subscribe  :


(which looks like &subscribe=Subscribe in HTML)

When I refresh the  link in Thunderbird Lighting it still shows both 

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 )


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 <bjonkman at sobac.com>
> Date: Mon, 09 Nov 2009 17:59:13 
> To: Microformats Discuss<microformats-discuss at microformats.org>
> 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.

More information about the microformats-discuss mailing list