Skip to main content

Yahoo! Calendar "Add Event" Seed URL Parameters


I can't seem to find any official documentation on this, so here are my notes.
Some information gathered from http://richmarr.wordpress.com/tag/calendar/
Other information gathered through trial and error, and close examination of the "Add Event" form on Yahoo!'s site.
Yahoo! Calendar URL Parameters
ParameterRequiredExample ValueNotes
vRequired60Must be 60. Possibly a version number?
TITLERequiredEvent titleLine feeds will appear in the confirmation screen, but will not be saved. May not contain HTML.
STRequired20090514T180000ZEvent start time in UTC. Will be converted to the user's time zone.
20090514T180000Event start time in user's local time
20090514Event start time for an all day event. DUR value is ignored if this form is used.
DUR0200Duration of the event. Format is HHMM, zero-padded. MM may range up to 99, and is converted into hours appropriately. HH values over 24 hours appear to be modulated by 24. Durations that span midnight behave strangely. Leave this blank if the event has no specific end time, or if this is an all-day event.
URLhttp://chris.photobooks.comIf present, the URL will be used to create a link out of the event title.
DESCAny lengthy textProvides notes or a description for the event. This may contain line breaks (encoded in the usual manner, these become %0A). This may not contain HTML. This appears to accept quite a large amount of text, considering that it is being passed through on a query string.
in_locPhotobooksEvent location
in_st200 Arizona Ave., Suite 104Street address
in_cszAtlanta, GA, 30307City / State / Zip
in_ph404-589-1228Phone
TYPE11Anniversay
Default10Appointment
12Bill Payment
13Birthday
27Breakfast
14Call
19Chat
37Class
26Club Event
24Concert
29Dinner
15Graduation
30Happy Hour
16Holiday
17Interview
28Lunch
18Meeting
23Movie
21Net Event
20Other
31Party
32Performance
33Reunion
34Sports Event
25Travel
22TV Show
35Vacation
36Wedding
VIEWdNo idea...
RPAT01WkUsed to specify a recurring event. No idea what sort of values are accepted. If this is present, then REND is also required. Unfortunately, I don't know how REND is calculated, so the usefulness of this parameter is limited.
REND1274486399Used to specify when a recurring event pattern ends. Not sure exactly how this is calculated.

Example:

http://calendar.yahoo.com/ ?v=60 &TITLE=Event+title &DESC=Description+field%2C+Line+1%0ALine+2%0ALine+3 &ST=20090520T180000Z &DUR=0200 &URL=http%3A%2F%2Fchris.photobooks.com%2Ftests%2Fcalendar%2FNotes.html &in_loc=Location+field &in_st=street+address &in_csz=city+state+zip &in_ph=phone+number &TYPE=21

Comments

  1. Hi Chris! Thanks for sharing. When I click on your example link, the Yahoo event modal opens with a time of 6:00-8:00pm, despite my account being set to Eastern Time. So, Yahoo isn't converting from UTC to user time zone. Are you able to reproduce? I suspect this is a Yahoo bug.

    ReplyDelete

Post a Comment

Popular posts from this blog

Java literals:

Java literals:           A constant value which can be assigned to a variable is known as Literal.If we are assigning any outside range value for any data type ,we will get a compile time error saying Possible Loss of Precision found int required byte. For the integral data types (int ,byte,short,long) : we are allowed to specify a literal value in any   one of the following three forms. ---> Decimal literal (normal way) --->Octa literal (prefixed with 0 ) --->Hexa decimal (prefixed with 0x ) int x=10 ------------> Decimal int x=010 ------------>Octa int x=0X10 -------------->Hexa In the Hexa decimal notation for the extra digits we are allowed to specify either small or upper case a,b,c or A,B,C ( this is one of the few places where java is not case sensitive ). Example: class Sample { public static void main(String add[]) { int i = 10; int j=010; int k=0x10; System.out.println( i+”….”+j...