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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Football
Master
Posts: 205 Joined: Fri Dec 26, 2008 3:08 pm
Location: Quakenet, #Football
Post
by Football » Fri Nov 26, 2010 6:42 am
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.
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Fri Nov 26, 2010 3:37 pm
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.
Football
Master
Posts: 205 Joined: Fri Dec 26, 2008 3:08 pm
Location: Quakenet, #Football
Post
by Football » Sat Nov 27, 2010 3:58 am
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.