This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

NewsNow search

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
F
Football
Master
Posts: 205
Joined: Fri Dec 26, 2008 3:08 pm
Location: Quakenet, #Football

NewsNow search

Post by Football »

Hey, could anyone write a code that on a trigget it will display the required recent headlines from newsnow.co.uk

For example,

!newsnow Sunderland will message the user with the recent top 5 headlines and refer him to:

http://www.newsnow.co.uk/h/?search=sund ... eadlines=1

Thanks.
Idling at #Football, Quakenet.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

From what I've seen in the supplied link there are multiple sections ('In the last 10 minutes', 'In the last 2 hours', 'In the last 4 hours' and so on) with headlines, so from what section do you want to be displayed? I'm asking this as it would help anyone willing to fill this request to know what exactly needs to be parsed from there.
Once the game is over, the king and the pawn go back in the same box.
F
Football
Master
Posts: 205
Joined: Fri Dec 26, 2008 3:08 pm
Location: Quakenet, #Football

Post by Football »

The best option would be the 5 latest, no matter when they were posted.
But if thats impossible, than just the last posted
Idling at #Football, Quakenet.
Post Reply