egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Headlines script. Retreiving news now.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
lee8oi
Halfop


Joined: 04 Jun 2011
Posts: 63
Location: Michigan,United States.

PostPosted: Wed May 02, 2012 2:05 pm    Post subject: Headlines script. Retreiving news now. Reply with quote

headlines eggdrop script by lee8oi@gmail.com
http://code.google.com/p/headlines-script/

There's plenty of eggdrop news syndication scripts if you are looking for something automatic. This script is for retrieving news headlines(titles w/links) Right from the source. The source can be a feed url directly or it can be the name of one of the preconfigured feeds followed by the number of headlines you would like. The output is sent to your nick through the irc notice system keeping the public channels spam free. The direct approach to handling feeds allows the script manage more news sources and it keeps a small foot print in memory because nothing is stored, and nothing is running when nobody is reading the news. We only get the headlines we ask for, when we ask for them, nothing else.

This script is currently written for utf-8 patched bots and assumes the users system is utf-8. It currenly supports RSS and Atom feeds.

Note: Encoding issues are common. If you have problems please make sure your bot is patched for utf-8 as outlined here: http://eggwiki.org/Utf-8

If you still have problems consider updating to the latest tcl8.6 and recompiling your bot. This script DOES WORK. Its just hard to detect & fix all the possible encoding issues up front. I'll work in the fixes as I go. Check the 'Custom Charsets' section in 'Configuration' for more information about setting charsets for specific feeds.

Currently you can call the rss script from any channel the bot resides in or by using /msg or /query. The output is 'noticed' directly to you.

Usage:

Retrieve news:
!news <feedname-or-url> ?how-many?

List the available feeds
!feeds
_________________
https://github.com/lee8oi
https://code.google.com/u/lee8oi/
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
BigToe
Halfop


Joined: 30 Dec 2010
Posts: 99

PostPosted: Thu May 03, 2012 4:04 pm    Post subject: Reply with quote

Hey lee8oi,

Good stuff. though I don't see a download link there?
Back to top
View user's profile Send private message
lee8oi
Halfop


Joined: 04 Jun 2011
Posts: 63
Location: Michigan,United States.

PostPosted: Thu May 03, 2012 7:29 pm    Post subject: Oops Reply with quote

Hehe. ok its in the downloads section of the google code project page. Sorry. I'm sorta new to google code. Didn't realize there was a separate section for the download links.
_________________
https://github.com/lee8oi
https://code.google.com/u/lee8oi/
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber