Tantek Celik wrote:
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
I'm using Firefox 3.5.5 on Ubuntu 9.10
I gathered the URLs from Firefox as it was trying to download the .ics
file or the calendar subscription. Only later did I use Firebug to
examine the HTTP headers and discovered that there's a re-direct to a
webcal:// URL.
I'm trying to provide a link directly on my web page that will interpret
the hCalendar on that page to provide an .ics file, or a calendar
subscription. Applying DRY principles, I only update the prose and then
H2VX takes care of updating the .ics.
Scott Reynen wrote:
http://h2vx.com/ics/get-cal.php?uri=http%3A%2F%2Fexample.com%2F%23meeting1&subscribe=Subscribe
That URL has two parameters:
uri : http://example.com/#meeting1 (as it will be unencoded)
subscribe : Subscribe
It looks like you want subscribe as part of the uri parameter, so you
need to encode it.
The &subscribe=Subscribe is a parameter to h2vx.com/ics/get-cal.php ,
not to example.com/ so I've left it not URL-encoded.
I only just discovered with Firebug that the Subscribe button on
http://h2vx.com/ics/ returns "302 Moved Temporarily" with a location of
|webcal://h2vx.com/ics/http://example.com/#meeting1
It does not appear to be URL-encoded.
|
Sorry for the delay in replying -- the urgency for this issue (for me)
has passed; at the meeting in question[1] our Township Council decided
to preserve the forest and not proceed with development. Yay!
--Bob.
[1] http://sobac.com/pvgp/#councilmeeting2009-11-10
Tantek Celik wrote:
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
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss