Re: iCal modules

2006-08-10 Thread Ricardo SIGNES
* Mike Schienle [EMAIL PROTECTED] [2006-08-10T00:11:07]
 Thanks for the suggestion, I didn't even consider that. The Mac::Glue  
 installation process is definitely one of the more entertaining ones  
 I've seen/heard. I just scanned through the module docs. I see in the  
 ToDo list is More examples (iCal, iPhoto, iTunes). I don't suppose  
 you have an iCal example laying around you've been waiting to put in  
 there.

This used to work, and probably still does, though I haven't used it lately for
obvious reasons:

  http://rjbs.manxome.org/hacks/perl/bdcal

-- 
rjbs


signature.asc
Description: Digital signature


Re: iCal modules

2006-08-10 Thread Mike Schienle

Ricardo SIGNES wrote:

* Mike Schienle [EMAIL PROTECTED] [2006-08-10T00:11:07]
  
Thanks for the suggestion, I didn't even consider that. The Mac::Glue  
installation process is definitely one of the more entertaining ones  
I've seen/heard. I just scanned through the module docs. I see in the  
ToDo list is More examples (iCal, iPhoto, iTunes). I don't suppose  
you have an iCal example laying around you've been waiting to put in  
there.



This used to work, and probably still does, though I haven't used it lately for
obvious reasons:

  http://rjbs.manxome.org/hacks/perl/bdcal
  


Thanks Ricardo. Seeing a little iCal syntax definitely helps. I found a 
little touch of irony in this line :-)

die nobody found! unless @people;





--
Mike Schienle




Re: iCal modules

2006-08-10 Thread John Delacour

At 8:45 pm -0700 9/8/06, Chris Nandor wrote:


For the latter part, you may wish to just use Mac::Glue to script iCal.  You
can create calendars, add new events, and so on.


Chris, where do I get glue for BBEdit and other things?  My glues 
directory contains only these + the pods:



URL_Access_Scripting
FontSyncScripting
Finder
dialects
ColorSyncScripting
additions
TextCommands
System_Events
Keychain_Scripting
Image_Events

JD




Re: iCal modules

2006-08-10 Thread Ricardo SIGNES
* John Delacour [EMAIL PROTECTED] [2006-08-10T14:03:05]
 At 8:45 pm -0700 9/8/06, Chris Nandor wrote:
 
 For the latter part, you may wish to just use Mac::Glue to script iCal.  
 You
 can create calendars, add new events, and so on.
 
 Chris, where do I get glue for BBEdit and other things?  My glues 
 directory contains only these + the pods:

http://search.cpan.org/dist/Mac-Glue/Glue.pm#Creating_a_Glue

in short, run gluemac

-- 
rjbs


signature.asc
Description: Digital signature


Re: iCal modules

2006-08-10 Thread Chris Nandor
At 19:03 +0100 2006.08.10, John Delacour wrote:
At 8:45 pm -0700 9/8/06, Chris Nandor wrote:

For the latter part, you may wish to just use Mac::Glue to script iCal.  You
can create calendars, add new events, and so on.

Chris, where do I get glue for BBEdit and other things?  My glues
directory contains only these + the pods:


URL_Access_Scripting
FontSyncScripting
Finder
dialects
ColorSyncScripting
additions
TextCommands
System_Events
Keychain_Scripting
Image_Events

You simply need to run gluemac /path/to/app.  You may need sudo, too.
For example:

sudo gluemac /Applications/BBEdit.app

This creates the glue file and the POD file (which can be read with
gluedoc BBEdit).

The ones you have by default are the two most common/important apps (Finder
and System Events), and some scripting additions.  All other apps, you have
to do yourself one time (and after upgrades too, if you wish).

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Technology Group   [EMAIL PROTECTED] http://ostg.com/


Re: iCal modules

2006-08-10 Thread John Delacour

At 12:52 pm -0700 10/8/06, Chris Nandor wrote:


At 19:03 +0100 2006.08.10, John Delacour wrote:

Chris, where do I get glue for BBEdit and other things?  My glues




You simply need to run gluemac /path/to/app.  You may need sudo, too.
For example:

sudo gluemac /Applications/BBEdit.app

This creates the glue file and the POD file (which can be read with
gluedoc BBEdit).


Ah!  That sounds terrific.  I guessed there must be some way to build 
the glue, as in Frontier.


The only problem is that I get

sudo: gluemac: command not found
Eremita:~ jd$ man gluemac
No manual entry for gluemac
Eremita:~ jd$

so how do I get that working?  All my Mac::Carbon etc. stuff is fully 
up to date so far as I know.


TIA

JD



Re: iCal modules

2006-08-10 Thread Christian Huldt


10 aug 2006 kl. 22.37 skrev John Delacour:


At 12:52 pm -0700 10/8/06, Chris Nandor wrote:


At 19:03 +0100 2006.08.10, John Delacour wrote:

Chris, where do I get glue for BBEdit and other things?  My glues



You simply need to run gluemac /path/to/app.  You may need sudo,  
too.

For example:

sudo gluemac /Applications/BBEdit.app

This creates the glue file and the POD file (which can be read with
gluedoc BBEdit).


Ah!  That sounds terrific.  I guessed there must be some way to  
build the glue, as in Frontier.


The only problem is that I get

sudo: gluemac: command not found
Eremita:~ jd$ man gluemac
No manual entry for gluemac
Eremita:~ jd$

so how do I get that working?  All my Mac::Carbon etc. stuff is  
fully up to date so far as I know.


sudo find / -name gluemac -print

gives me

/System/Library/Perl/Extras/bin/gluemac

Now, if /System/Library/Perl/Extras/bin should be added to the PATH  
or a symlink created in some other place is perhaps a matter of  
personal taste.




Re: iCal modules

2006-08-10 Thread John Delacour

At 11:30 pm +0200 10/8/06, Christian Huldt wrote:


sudo find / -name gluemac -print

gives me

/System/Library/Perl/Extras/bin/gluemac

Now, if /System/Library/Perl/Extras/bin should be added to the PATH 
or a symlink created in some other place is perhaps a matter of 
personal taste.


Good!  All done now.  Thanks!

$ cd /System/Library/Perl/Extras/bin/
$ sudo ./gluemac /Applications/Eudora\ Application\ Folder/Eudora.app/
Password:
Making glue for '/Applications/Eudora Application Folder/Eudora.app/'
What is the glue name? [Eudora]:
Created and installed App glue for 'Eudora.app, v6.2.4b5' (Eudora)


JD



Re: iCal modules

2006-08-10 Thread Chris Nandor
At 21:37 +0100 2006.08.10, John Delacour wrote:
Ah!  That sounds terrific.  I guessed there must be some way to build
the glue, as in Frontier.

Yeah, I borrowed a bunch of ideas from Frontier.


The only problem is that I get

 sudo: gluemac: command not found
 Eremita:~ jd$ man gluemac
 No manual entry for gluemac
 Eremita:~ jd$

so how do I get that working?  All my Mac::Carbon etc. stuff is fully
up to date so far as I know.

If you are using the Mac::Carbon that comes with Tiger, then it is in
/System/Library/Perl/Extras/bin/.  If you installed it from the CPAN, then
... I dunno, it probably should be in your path.  It wouldn't hurt to
install latest Mac::Glue (and Mac::Carbon too), if you are using the one
that shipped with Tiger (esp. if you have an Intel Mac, since the one that
shipped doesn't work!).

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Technology Group   [EMAIL PROTECTED] http://ostg.com/


Re: iCal modules

2006-08-10 Thread wren ng thornton
--- quoth Chris Nandor:
 --- quoth John Delacour:
 
 The only problem is that I get
 
  sudo: gluemac: command not found
 [...]
 If you installed it from the CPAN, then
 ... I dunno, it probably should be in your path.

I seem to recall that it gets installed alongside the
modules so if you look in ...Mac/Glue/ there should be
a folder for the glues themselves but also a folder
for the scripts like gluemac. At least that's how it
used to work, I've been having troubles installing it
on the new intel mac so I can't say if that's still
the case.

Live well,
~wren

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: iCal modules

2006-08-10 Thread Ken Williams


On Aug 10, 2006, at 4:30 PM, Christian Huldt wrote:



sudo find / -name gluemac -print



Heh - try this:

 locate gluemac

and see how much faster it is. =)

 -Ken



Re: iCal modules

2006-08-10 Thread Peter N Lewis

At 20:55 -0500 10/8/06, Ken Williams wrote:

 locate gluemac


While on this topic, one of the first things I do to any newly 
installed Mac that I will use is to move the locate database update 
from weekly to daily and remove the run as nobody so it runs as 
root (otherwise it does not see any of my own files!).


Add /etc/daily.local:

#!/bin/sh -
#
#   @(#)daily   8.2 (Berkeley) 1/25/94
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin

if [ -x /usr/libexec/locate.updatedb ]; then
echo 
echo Rebuilding locate database:
locdb=/var/db/locate.database
touch ${locdb}; chown nobody ${locdb}; chmod 644 ${locdb}
# echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody 21 
| sed -e '/Permission denied/d'

/usr/libexec/locate.updatedb
chmod 444 ${locdb}
fi

Delete the locate.updatedb code from /etc/weekly (unfortunately, you 
have to do this to avoid it clobbering the good database with the bad 
database for up to one day a week).


After this, locate works like Spotlight should, ie finds everything, 
finds it very fast.


Eg, locate s3 | grep pdf - find the Amazon S3 documentation (| 
xargs bbedit for good measure ;-)


Enjoy,
   Peter.

--
Check out Interarchy 8.1.1, just released, now with Amazon S3 support.
http://www.stairways.com/  http://download.stairways.com/


Re: iCal modules

2006-08-09 Thread Chris Nandor
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Mike Schienle) wrote:

 I'm checking out modules for working with iCal. I want to scrape a  
 financial calendar web site at http://www.briefing.com/Investor/ 
 Public/MarketAnalysis/Calendars/EconomicCalendar.htm and put the  
 dates into an iCal calendar.

For the latter part, you may wish to just use Mac::Glue to script iCal.  You 
can create calendars, add new events, and so on.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Technology Group   [EMAIL PROTECTED] http://ostg.com/


Re: iCal modules

2006-08-06 Thread michael
I once had to read ical-files and did so with Tie::iCal. I found  
there are plenty of Modules that deal with iCal and a lack of  
Documentation. Someone might even try without a module at all...


Now that you are describing your problem i wonder if there is a site  
that does just this kind of conversion...


Have you considered using an rss-feed? Probably you find something  
appropriate at www.syndic8.com


HTH

Am 05.08.2006 um 16:19 schrieb Mike Schienle:


Hi all -

I'm checking out modules for working with iCal. I want to scrape a  
financial calendar web site at http://www.briefing.com/Investor/ 
Public/MarketAnalysis/Calendars/EconomicCalendar.htm and put the  
dates into an iCal calendar. I checked http://www.icalshare.com/  
and there were a couple financial ones from previous years, but  
nothing current. Apple's iCal section on their site didn't have any  
financial calendars listed.


Does this exist already for this or a similar calendar?
Data::iCal looks like an appropriate module to use. Any pros/cons  
or more appropriate modules to consider?


If you'd like to subscribe to the resulting calendar when I'm done,  
just drop me a line. I'm creating the iCal calendar by hand at the  
moment, so it's already available.


Thanks for any ideas.

Mike Schienle





iCal modules

2006-08-05 Thread Mike Schienle

Hi all -

I'm checking out modules for working with iCal. I want to scrape a  
financial calendar web site at http://www.briefing.com/Investor/ 
Public/MarketAnalysis/Calendars/EconomicCalendar.htm and put the  
dates into an iCal calendar. I checked http://www.icalshare.com/  
and there were a couple financial ones from previous years, but  
nothing current. Apple's iCal section on their site didn't have any  
financial calendars listed.


Does this exist already for this or a similar calendar?
Data::iCal looks like an appropriate module to use. Any pros/cons or  
more appropriate modules to consider?


If you'd like to subscribe to the resulting calendar when I'm done,  
just drop me a line. I'm creating the iCal calendar by hand at the  
moment, so it's already available.


Thanks for any ideas.

Mike Schienle