Re: leaching information from a news site
| From: | daniel at electroteque dot org | Date: | Wed, 14 May 2003 03:54:07 +0000 |
| Subject: | Re: leaching information from a news site | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147540@lists.php.net to get a copy of this message | ||
there are tonnes of news feed scripts around check hotscripts and places
like that i've never done it before
> I have checked the news site I would like to leach from This is what
> they say in their FAQ.
>
>
> Content for your own website
>
> Can I link to NEWS.com.au?
> NEWS.com.au welcomes links from other sites on the web. You can also
> use our headlines to link to individual stories. Due to copyright
> restrictions, you should not reproduce the text of the story.
>
> So I would have to search using the regex? No they don't have an xml
> feed
>
>> well have u asked the website if its kool ? usually they would have an
>> xml feed if they allow that sort of thing , what u would need to do is
>> fopen the frontpage and do a shit load of regex, or the best would be
>> preg_match
>>
>> > Hi all,
>> >
>> > I am new to the php list. I have a problem and would like to know
>> > how I could solve it with php.
>> >
>> > I would like to grab headlines from a news site in Australia.
>> > So that I could display it on my site, also I would like to
>> > create the link to the story
>> >
>> > What would I need to grab all information from the line
>> >
>> > <p><span class='blackheading'>BREAKING
>> > NEWS</span><br><img
>> > src='/images/1p_black.gif' width=468 height=1><br><br>
>> >
>> > up untill the following lines
>> >
>> > <br><img src="/images/blank.gif" border="0"
>> > width="1"
>> > height="20"><br> <img
>> > src="/images/heading_underline.gif"
>> > width="468" height="4"><br> <table width=100%>
>> >
>> >
>> > --
>> > Regards,
>> >
>> > Kevin Saenz
>> >
>> > Spinaweb
>> > Your one stop shop for I.T solutions.
>> >
>> > Ph: 02 4620 5130
>> > Fax: 02 4625 9243
>> > Mobile: 0418455661
>> > Web: http://www.spinaweb.com.au
>> >
>> >
>> > --
>> > PHP General Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
> --
> Regards,
>
> Kevin Saenz
>
> Spinaweb
> Your one stop shop for I.T solutions.
>
> Ph: 02 4620 5130
> Fax: 02 4625 9243
> Mobile: 0418455661
> Web: http://www.spinaweb.com.au
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php