in reply to Broken News- Reg. Exp.

I'm guessing that you won't get much (serious) help on this -- you're asking us to spend significant time to debug a piece of code. You've come to the wrong site for that.

Here's what this site (and community) is about: you bring your boiled-down, condensed, pithy Perl question to us, and we give you lots of varied answers and different approaches. You learn something, and perhaps we do too.

I suggest you go away and do some work on your question, and come back when you've narrowed it down a bit. Just saying that ... my parsing, or the regular expression is wrong doesn't help us much

Oh, and if you are screen scraping Google, that may be against the TOS.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Replies are listed 'Best First'.
Re^2: Broken News- Reg. Exp.
by Fletch (Bishop) on Aug 31, 2004 at 15:09 UTC

    s/may be against/is against/

    3. Use of the Service. You may only display the content of the Service for your own personal use (i.e., non-commercial use) and may not otherwise copy, reproduce, alter, modify, create derivative works, or publicly display any content. For example, you may not do any of the following: use the Service to sell a product or service; use the Service to increase traffic to your Web site for commercial reasons, such as advertising sales; take the results from the Service and reformat and display them, or mirror any portion of the results on your Web site; or use the Services as part of a "meta-search" offering. You also agree that you will not use any robot, spider, other automated device, or manual process to monitor or copy any content from the Service. If you are uncertain whether your intended use of the Service is permissible, please contact us. In addition, Google shall have the right in its sole discretion to suspend or terminate the Service or your access to it.

    Emphasis added. See http://news.google.com/intl/en_us/terms_google_news.html and the related http://www.google.com/terms_of_service.html.

    Update: And just as a clarification if you're doing this for your own personal use that's fine and I'd consider it to be within the bounds of "fair use"; I've got several HTML::TokeParser scripts which cobble together RSS feeds from sites which don't provide them for my own personal use. Just be aware that what you're doing is forbidden by the letter of the TOS and be prepared to accept the consequences thereof.

A reply falls below the community's threshold of quality. You may see it by logging in.