ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Multi Photo Quotes

Commandline Helper Tool (Plugins) Coders Requested

<< < (2/2)

patteo:
I've successfully used the free commandline tool pscrape to fetch random quotes on demand from the www.quotesdaddy.com page  :up:

It will be in the next release.  If anyone wants to try scraping other random info please post what you find.

(note that you can use this feature to show other info besides quotes).
-mouser (January 11, 2009, 08:41 AM)
--- End quote ---

Hi Mouser,

Could you share with us the commandline commands that you used for the to extract from www.quotesdaddy.com

I think at least one of the examples given on http://www.webscrape.com/ are broken due to changes in the urls.

This was also mentioned in

"Broken Examples
So it appears that some of the examples on the website are now broken I haven't been checking them lately and hadn't noticed! This is a fundamental problem encountered when screen scraping, when the target screen format changes your scrapes may well stop working."
http://pagescrape.blogspot.com/

The syntax was somewhat Greek to me also because I'm trying to get used to Regex syntax and there seems to be differing flavours of Regex too.

Thanks.

mouser:
here's the entire contents of my dyn_quotesdaddy.txt quotes file which works:


--- ---DcQuoteFile|QuotesDaddy.com Quotes|Dynamically fetched quotes from the website quotesdaddy.com|quotesdaddy homepage|http://www.quotesdaddy.com
$$$appcap %appdir%\tools\pscrape.exe -u"http://www.quotesdaddy.com/feed" -e"<item>.*<description>(.*)</description>";;;%lastappcap%;;;$$$html2ascii
in case its not clear, the commandline for pscrape is:
 -u"http://www.quotesdaddy.com/feed" -e"<item>.*<description>(.*)</description>"

mouser:
The QuotesDaddy "book" addon is now available from the mpq web page.

Installing it will give you a new quote book that fetches quotes dynamically from the quotesdaddy web page; i didn't want to include this with base install because people might get scared when the program tries to connect out to the internet.

mouser:
Might be fun to find a random machine generated poetry tool to generate random short poems to show.

Navigation

[0] Message Index

[*] Previous page

Go to full version