Afficher un message
Vieux 17/09/2007, 14h54   #3
Nathan Thickett-menghini
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: errors, trying to edit and write some text files

Many thanks, I had some success by typing out the script myself and this
eliminated the troublesome characters. The script now runs and produces
my three text files. I still can't get it to work as desired - it seems
to omit the lines of the calendar that I most need, i.e. the events
themselves! I don't understand enough about the script to be able to fix
it but I think the error comes where the script splits the text feeds
into separate lines - it only seems to include the first line of the
feed and never more. If you fancy taking a look then by all means do but
I appreciate you fixing my first problem.

For example, the feed for 'today' is as follows in its entirety (in the
web browser, before ruby has touched it):


CAR:
[17/09/2007] Car to Garage at 8.30am


But the ruby script returns only:


Today:
CAR:




Any ideas?

Attachments:
http://www.ruby-forum.com/attachment...red_actions.rb

--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
 
Page generated in 0,04767 seconds with 9 queries