Kim,

Makes perfect sense.

I have altered the .xml file to reflect the name of the
'localeventsfileurl' var in the preferences.js file. If the file does
not exist, it will be created. If it does exist, it will append to the
file as usual.

The update is at: http://mangom2.com/deskbar/addLocalHoliday.xml

Let me know if you find anything else.

Regards,
Erik Telford

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Sunday, August 15, 2004 11:28 PM
To: [EMAIL PROTECTED]
Subject: DQSD-Devel digest, Vol 1 #459 - 1 msg


Send DQSD-Devel mailing list submissions to
        [EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/dqsd-devel
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of DQSD-Devel digest..."


Today's Topics:

   1. RE: Enhancement - Add holidays from the deskbar
(=?iso-8859-1?Q?Kim_Gr=E4sman?=)

--__--__--

Message: 1
From: =?iso-8859-1?Q?Kim_Gr=E4sman?= <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: [DQSD-Devel] Enhancement - Add holidays from the deskbar
Date: Sun, 15 Aug 2004 15:12:52 +0200
Reply-To: [EMAIL PROTECTED]

Hi Erik,

Great idea!

I'd like one thing, though, before I add it to the repository: If you
could make sure it didn't require localevents.xml to exist, that'd be
even better... If I recall correctly, writeFile creates the file if it
doesn't previously exist, so you should be able to check if it exists,
read the contents if so, and otherwise just pass on to writeFile.

It's a little difficult documenting that hol.xml requires
localevents.xml to exist for it work at all, that's why I'm concerned.

Cheers,
Kim

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Erik Telford
> Sent: den 15 augusti 2004 00:07
> To: [EMAIL PROTECTED]
> Subject: [DQSD-Devel] Enhancement - Add holidays from the deskbar
> 
> Hey everyone! I'm a brand new member to the list and really
> enjoy Dave's Quick Search Deskbar. I created this little .xml 
> file for adding events to the calendar directly from the 
> deskbar. I've tried to break it and I believe it is in good 
> working condition. Let me know if (when) you find bugs and 
> I'll fix them.
>  
> You can download the .xml file at:
> http://mangom2.com/deskbar/addLocalHoliday.xml (it is also attached).
>  
> Place the file in your 'searches' folder. You'll then want to
> create a blank .xml file named 'localEvents.xml' in the root 
> directory of the deskbar program files folder (the same 
> directly that has the other holiday .xml files). You can name 
> this whatever you want so long as you reflect the different 
> name in your preferences (preferences.js) file. 
> 'localEvents.xml' is the default name in this file, so it 
> seems to be simple to leave it that.
>  
> The format for adding a date is:
>  
> hol event_name|event_type|event_day|event_month
>  
> or
>  
> hol event_name|event_type|event_day|event_month|event_year
>  
> The first version is for an event that occurs yearly. The
> second will add the event for only the year specified.
>  
> Let me know what you guys think.
>  
> Thanks,
>  
> Erik Telford
> Mango Multimedia
> http://www.mangom2.com
> 




--__--__--

_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel


End of DQSD-Devel Digest





-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to