RE: XML::RSS scraping of web pages

2004-10-24 Thread Gary Nielson
." I don't understand why. What are the technical downsides to using Perl's RSS tools? Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Terris Linenbach Sent: Saturday, October 23, 2004 8:35 PM To: Gary Nielson Cc: [EMAIL PROTECTED] Subj

XML::RSS scraping of web pages

2004-10-23 Thread Gary Nielson
I have a technical/philosophical question about scraping of web pages for RSS feeds. You all helped me a while back in figuring out the use of HTML::TokeParser and XML::RSS to extract headlines and links from web pages. As far as I am concerned, scraping of a web page is the same as accessing a web

RE: :RSS and description text

2004-10-11 Thread Gary Nielson
Duh! The solution was simple, when I stopped trying to make it complicated :) link=> "http://www.$pub.com/mld/$pub/rss/"; . $token->[1]{href}, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Nielson Sent: Saturday,

RE: :RSS and description text

2004-10-09 Thread Gary Nielson
... Any advice, suggestions appreciated. You've already helped more than I expected. Thanks so much. Gary -Original Message- From: Charles K. Clarkson [mailto:[EMAIL PROTECTED] Sent: Saturday, October 09, 2004 1:24 PM To: 'Gary Nielson'; [EMAIL PROTECTED] Subject: RE: :RSS

XML::RSS and description text

2004-10-08 Thread Gary Nielson
I'm trying to write a script with XML::RSS. Using an example I found on the web, I've gotten it to work getting headlines and links from an html document. But I am having difficulty understanding how to also get the lead paragraphs for a $desc variable. I have looked at the man pages and searched t

RSS encoding issues

2004-10-07 Thread Gary Nielson
I am writing a script to make an RSS file. I am not using XML::RSS because, among other things, I need to get headlines and links from one page and then go to that url to get descriptions. Anyway, it works well, however I am occasionally getting RSS feed validation errors -- "XML Parsing error: :

RE: Question about parsing an html document

2004-10-07 Thread Gary Nielson
Thanks! -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 8:15 PM To: Gary Nielson Cc: [EMAIL PROTECTED] Subject: Re: Question about parsing an html document Gary Nielson wrote: > I am trying to get the first paragraph of an arti

Question about parsing an html document

2004-10-06 Thread Gary Nielson
I am trying to get the first paragraph of an article from an html document. I am trying to do this by getting the document from the web, using 'join' to make many lines one line, and then trying to isolate the text I want. Is this workable? Here's an example of the area of a longer html document t

RE: Help with Spreadsheet::WriteExcel

2004-05-11 Thread Gary Nielson
Hey, thanks! I got it working now. Works great. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darrell Gammill Sent: Sunday, May 09, 2004 10:04 PM To: Gary Nielson; [EMAIL PROTECTED] Subject: RE: Help with Spreadsheet::WriteExcel http://search.cpan.org

RE: Help with Spreadsheet::WriteExcel

2004-05-08 Thread Gary Nielson
$_); my $col = 0; foreach my $token (@Fld) { $worksheet->write($row, $col, $token); $col++; } $row++; } } close HISTFILE; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darrell Gammill

RE: Help with Spreadsheet::WriteExcel

2004-05-08 Thread Gary Nielson
ow to dictate in my script that the first column of every row be in date format as in 3/14/2004. Any help appreciated. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Nielson Sent: Saturday, May 08, 2004 11:09 AM To: [EMAIL PROTECTED] Subject: Help

Help with Spreadsheet::WriteExcel

2004-05-08 Thread Gary Nielson
I am using Spreadsheet::WriteExcel to get all files in a directory and convert them from tab-delimited text to xls format. When I import them manually, my subsequent formula works fine. However, when I use the same formula on the converted file, I get a #DIV/0!. I notice that in the last cell on ea