Search found 7 matches

by majorpayne
Wed May 19, 2010 1:28 pm
Forum: PHP - Code
Topic: PHP Scrape
Replies: 11
Views: 930

Re: PHP Scrape

Without the pre tags it becomes a jumbled mess. well I think I'm going to hang my hat on this one.. I can't seem to get it done the way i need it...
by majorpayne
Wed May 12, 2010 3:41 pm
Forum: PHP - Code
Topic: PHP Scrape
Replies: 11
Views: 930

Re: PHP Scrape

What i mean by issue #1 is that if you look at a paragraph on the nor rss feed it looks like a paragraph. If you look at the scrape that I'm pulling at the end of every sentence is a period and then the next sentence starts on the next line. there is never more then one sentence on a line no matter ...
by majorpayne
Mon May 10, 2010 11:27 am
Forum: PHP - Code
Topic: PHP Scrape
Replies: 11
Views: 930

Re: PHP Scrape

using the code below I'm able to get the page to show.. with a title and Description. I'm seeing 2 issues 1) in the description after every period it starts a new line. 2) I'm getting  to appear in the text. I assume these are because of " or ' that are in the articles. I would like to have th...
by majorpayne
Fri May 07, 2010 7:27 am
Forum: PHP - Code
Topic: PHP Scrape
Replies: 11
Views: 930

Re: PHP Scrape

Most grateful! I will plug along and see what i come up with the RSS feed is in this format for the source <?xml version="1.0" encoding="iso-8859-1"?><?xml-stylesheet type="text/xsl" href="http://feeds.rapidfeeds.com/style/style3.xml"?> <?xml-stylesheet type=&...
by majorpayne
Thu May 06, 2010 12:51 pm
Forum: PHP - Code
Topic: PHP Scrape
Replies: 11
Views: 930

Re: PHP Scrape

Currently I'm able to pull the data into a page but since it's a RSS it's not keeping the formatting. I just want it to grab everything between the <title>,</title> and <description></description>

I know i need to use preg_match and I have looked at it but i'm dumbfounded
by majorpayne
Thu May 06, 2010 11:28 am
Forum: PHP - Code
Topic: PHP Scrape
Replies: 11
Views: 930

Re: PHP Scrape

Thank you for the information... I'll look around if i have any questions I'll pipe up
by majorpayne
Thu May 06, 2010 10:59 am
Forum: PHP - Code
Topic: PHP Scrape
Replies: 11
Views: 930

PHP Scrape

I'm looking to see if this can be achived. I understand I will have to most likely use cURL not sure beyond that

1) Scrape a RSS feed
2) Compare a Joomla Database to see if the data based on title is already exists
3) If no article is found it posts said article.