[MOD] AutoRSS

Back to Module Support

Page: 1  
From User Message Body
hery
Post #824
Member
Date: 6:38 am, Sep 28 2008
Posts: 15


AutoRSS by hery

When you use !autorss the first time, then you become the admin. Admin can add or delete links, other admins and settings.

You have to set up the channel (default is #serasera but I'm sure your bot is not on it)

To set up a channel

Code
!autorss set channel #your_channel


To set up the interval (must be bigger than 300)

Code
!autorss set timer 600


To add a link

Code
!autorss link add http://....rss


To add an admin

Code
!autorss admin add john


Click here for the module information page.

This is a support thread. You can ask questions about this mod, or request feature changes as you wish.

Touchpad
Post #903
Member
Date: 3:02 am, Jan 14 2009
Posts: 1


I love this module, 1 thing though I'd love to change one thing;

lets call it "new"

a function that checks if anything new has been posted on the rss and if so then it posts it on irc instead of having it like it is now (spamming every 300 (default) ms into the chan) shouldn't be to hard to change I'll have a look at it soon and get back to you about it if you've not done anything about it before me

thx ALOT for this one though =)

Roots
Post #978
Member
Date: 5:42 am, Jun 1 2009
Posts: 1


For some reason its not working for me, I uploaded the autorss folder and then I went to the function.conf page and added the include.

I went to the channel the bot is in and type in all those command and the bot in DCC says

<PHPBot> --> Sending !AUTORSS SET CHANNEL #TEST to USER
<PHPBot> --> Sending !AUTORSS SET TIMER 300 to USER
<PHPBot> --> Sending !AUTORSS LINK ADD URLHERE

and ya I don't see myself added in the autorss.ini and i didn't see a feed post in the channel yet.

Any ideas?

MuNgLo
Post #1031 - Reply to (#978) by Roots
Member
Date: 3:32 pm, Apr 12 2010
Posts: 22


Well Roots, I just had the same problem. Took me a while but eventually I found that I had an ! at the end of the nick in bot.conf that was stripped by Quakenet. Thus the bot ended up without the ! in the nick.
When I changed the nick in bot.conf without the ! on the end it all cmd's started working.
\o/

Worth a try.

MuNgLo
Post #1032
Member
Date: 10:44 pm, Apr 15 2010
Posts: 22


Just an ugly hack i did of the autorss.php file to get the bot to say latest news only from feed and only once.
Im getting hang on the ini cmd's so a rewrite might happen. This is not nice at all :P

All changes is from row 304 and on
Code

// <--- Row 304 -- CUSTOM MuNgLo                
                $feed = new SimplePie();
                $feed->enable_cache(false);
                $feed->set_cache_location($this->cachedir);
                $feed->set_feed_url($link);
                $feed->init();
                $items = $feed->get_items(0, 1);
                $contenttitle = $feed->get_title();
                foreach ($items as $item)
                {


    $filename = $feed->get_title();  // replace feednames so it can be used as filename
    if($feed->get_title() == "Nyheter från FZ.se (PC/Mac)"){$filename = "FZ.se";}
    if($feed->get_title() == "Twitter / R60org"){$filename = "R60.org-Twitter";}
    if($feed->get_title() == "CAREMODE"){$filename = "caremode";}
$cachefulldir = "D:/PHP-bot/bazinga/modules/autorss/cache/".$filename.".txt";
                if(!$item->get_title()=="")
                {
                    // Check for and/or create/read backupfile
                        if (file_exists($cachefulldir))
                        {$lastnews = fopen($cachefulldir, "r+b");
                        } else {
                        $lastnews = fopen($cachefulldir, "w+b");
                        }

                        if(filesize($cachefulldir)>0){$cachecontent=fread($lastnews, filesize($cachefulldir));}
                        fclose($lastnews);
                    $feedcontent = $item->get_title();
                    if($feedcontent<>$cachecontent)
                        {    

                        // tell channel feed title
                            $this->ircClass->privMsg($chan, BOLD . $contenttitle);
                        // tell channel item title
                            $a=$item->get_description();
                            if($feedcontent<>$a){$this->ircClass->privMsg($chan, $feedcontent);}
                        // cull item description
                            $desc = substr(strip_tags(html_entity_decode($item->get_description())), 0, 150);
                            $desc = ereg_replace("\n", " ", $desc);
                            $desc = ereg_replace("\r", " ", $desc);
                        // add item date on description
                            $this->ircClass->privMsg($chan,  $desc . "... (" . $item->get_date('d/m/Y') . ")");
                            // tell link to item
                            $this->ircClass->privMsg($chan, $item->get_link());
                        // Delete old cachefile and write new
                            unlink($cachefulldir);
                            $lastnews = fopen($cachefulldir, "w+b");
                            fwrite($lastnews, $feedcontent);
                            fclose($lastnews);
                        }
                    /* //Bit of checkcode. Uncomment if you want. Tells DCC chat if rss feed was judged old
                        else{$this->dccClass->dccInform("AUTORSS New/Old Checker : ". BOLD ."OLD". BOLD ." : ".$contenttitle." - ".$item->get_title());
                        // tell channel item title
                            $this->dccClass->dccInform("Feed -> ".$feedcontent);
                        // tell cache item title
                            $this->dccClass->dccInform("Cache-> ".$cachecontent);
                            }
                    */
                }
                
                
                }
            }
        }
        return true;
    }
    
}

?>


scavvy
Post #1122
Member
Date: 3:00 pm, Mar 24 2015
Posts: 2


still active...? if not.. then where can I contact because I need help ASAP!!

i got the bot in the channel and all.. I put this autorss folder in the directory of the bot... but, as you all said that I need to verify myself as an admin and to get the commands and stuff..

how do I verify..?

and how do I use this rss file.?


polo2016
Post #1970
Member
Date: 9:43 am, May 6 2016
Posts: 88


MYY platform, north face dressed in nuggets jersey a orlando magic jerseys black nike mercurial wide burberry sale sleeves insanity schedule black nfl colts jerseys clothes, converse wearing ray ban sunglasses a nfl jerseys gold spurs jerseys face dre headphones mask, instyler put behind timberland pas cher a row gucci outlet of nfl raiders jerseys weapons, jerseys from china co-author of burberry outlet black red bottom shoes and white nike free marble oakley outlet online floor, prada handbags oozing wholesale handbags coolness bulls jersey dense. ghd Then she tn requin pas cher looked abercrombie at his uggs gorgeous michael kors outlet online sale clothes, cheap ray ban bluntly: reebok "Border sandstorm polo ralph great, polo ralph lauren outlet your moncler outlet clothes, chanel purses not iphone 5s cases very good wash." abercrombie fitch So from mcm bags the beginning has shown cheap coach purses signs longchamp handbags that moncler jackets outlet he will long champ know, thunder jerseys Wei coach outlet online Chuan rolex replica will not be marc jacobs handbags because mcm bags he michael kors looks nfl azcardinals jerseys for his uggs on sale exceptionally gucci generous. abercrombie kids That jimmy choo outlet night, vans shoes he toms outlet began to huaraches write lulu lemon a montblanc letter uggs canada Shen prada shoes night swarovski jewelry require longchamp substitution ray ban to michael kors outlet do eyeglasses frames this ugg australia task. cle Jerseys His uggs on sale idea pandora is simple, timberland boots but michael kors outlet online sale he is air force a pandora jewellery australia villain coach outlet store online engrossed abercrombie.com make nike free a michael kors outlet online sale living, nfl vikings jerseys if nike factory not because it is michael kors the air max shoes task, he supra shoes would michaelkors.com not be toms shoes outlet affected by ugg boots this suffering. timberland outlet She does nfl broncos jerseys not north face outlet like adidas him replica watches best, adidas online shop forbearance nike free trainer 5.0 and new balance tolerance tommy hilfiger online shop These nike days, converse he chanel sunglasses would rolex watches go back the north face outlet to ralph lauren polo Fung uggs outlet House. abercrombie and fitch But omega watches life louboutin shoes in nike air the Wei Chuan nfl texans jerseys hand kate spade outlet than converse outlet he beats headphones thought nfl chiefs jerseys it michael kors outlet store would cheap true religion be difficult, burberry handbags he lakers jersey fell air max thea asleep cheap eyeglasses on air max the longchamp second mcm backpack day, prada sunglasses Wei nike store Chuan ray ban will ferragamo be nfl rams jerseys sent hollister kids to huaraches the adidas online shop church, tommy hilfiger online he ray ban outlet thought swarovski crystal the other nfl titans jerseys is toms shoes outlet to let uggs him ugg boots accept detroit pistons jersey the prada outlet grace, milwaukee bucks jerseys the michaelkors.com result was michael kors purses a nfl jets jerseys servant tiffany canada all the hollister online shop way nfl dolphins jerseys to mcm bags the gucci belts barracks. asics gel Early morning gucci shoes outlet sun kate spade handbags just longchamp bathed chi flat iron the chanel outlet school nba jersey field, ugg australia Wei nike uk Chuan woolrich outlet celibacy adidas zx stand oakley outlet high coach factory outlet online above toms.com the nfl lions jerseys table, asics Xuan new balance shoes Yi rolex watches Yin Jian, nike air max gold michael kors outlet mask designer handbags in oakley vault the michael kors outlet sun shine. pumas Then ray ban wayfarer she turned mcm handbags to look at nike air max 90 him, hermes birkin broke and calvin klein outlet said: nike shoes ".. rolex watch Have ray ban pas cher come nfl ravens jerseys frontier, mavericks jerseys as nike a mac makeup large oakley Chu coach factory online Kenjiro, indiana pacers jerseys since when roshe to michael kors serve coach bags outlet their memphis grizzlies jerseys country ugg australia from bcbg max today, rayban you northface will ugg australia follow coach bags friday me omega watches march ugg boots clearance in it." air max 95 Then, the north face she went up oakley store to purses and handbags him vans in burberry outlet front toms shoes of huarache the lululemon waist michael kors uhren sword coach outlet store into north face backpacks his hands. oakley sunglasses outlet Flower tiffany street holding nfl bears jerseys a polo ralph lauren outlet sword, michael kors scared burberry outlet online immediately lululemon kneeling basketball shoes on michael kors outlet online the ground. christian louboutin He nfl chargers jerseys thought, gave cheap ray ban the north face backpacks letter nike roshe run Shen night, sacramento kings jerseys when air jordan retro it minnesota timberwolves jerseys is maccosmetics.com in burberry outlet online the nfl steelers jerseys end pandora jewelry to gooses what? nfl patriots jerseys Since tory burch then, he has ray-ban sunglasses been nfl 49ers jerseys close jordans at pandora bracelet hand yoga pants Wei ralph lauren outlet online Chuan, air max she taught nike id him martial new balance arts, juicy couture handbags to ralph lauren factory store teach nike factory outlet him tiffany the levis outlet art of oakley sunglasses war. lululemon He gucci mens shoes was oakley sunglasses bright, horloges but hermes birkin bag not eat pandora charms bitter, often a michael kors outlet online sale little tired, polo ralph lauren outlet online we ray ban prezzi should bcbg max azria blame bottega a michael kors canada long gucci shoes time, nike running shoes but ralph lauren outlet he had ray ban outlet only cheap jordans to north face canada speak ralph lauren outlet online Wei Chuan baseball jerseys will nike roshe run whip ralph lauren him. toms.com He louboutin shoes was jimmy choo Aoao called oakley sunglasses cheap pits, michael kors outlet online sale Wei Chuan utah jazz jerseys sidewalk: "What north face is michael kors called michael kors bags here which ghd hair straighterners outlet person, longchamp outlet hard hogan sito ufficiale to mcm backpack outlet eat free running more nfl falcons jerseys than thomas sabo you!?" tommy hilfiger outlet stores Day boutique clothing over air max pas cher day chanel after day, hornets jersey he knows he's true religion jeans women useless nike outlet shouting, flat iron then vans there nfl redskins jerseys is coach factory outlet no longer called upon, honestly with adidas shoes the nike air max Wei Chuan phoenix suns jerseys around, washington wizards jerseys conscientiously golden state warriors study martial oakley arts. The polo ralph only nfl saints jerseys consolation, ralph lauren is burberry outlet online the michael kors handbags night, a marc jacobs handbags man beats by dr dre in new orleans pelicans jerseys his own room, polo ralph lauren to michael kors outlet online sale learn her juicy couture clothings voice, and their canada gooses own nfl browns jerseys dialogue. valentino shoes He nike shoes thought of jordan retro 11 himself babyliss flat iron majestically gucci shoes uk called monster headphones her, thomas sabo to michael kors outlet online learn her nike shoes voice toronto raptors jerseys carefully michael kors bags attitude tiffany and co apologize. In hollister the louboutin shoes past, easton bats he coach factory Fung ralph lauren uk House, adidas the coach outlet former burberry handbags will ralph lauren outlet follow the master air max ventriloquist learned, coach outlet store one tory burch sale foot plate, 76ers jerseys you puma online shop can hilfiger outlet simulate true religion jeans outlet the tiffany jewelry blues, nfl jaguars jerseys her hollister clothing store voice easton bats deliberately ray-ban sunglasses learned, just polo outlet online like oakley could not swarovski online shop be portland trail blazers jerseys more nfl bengals jerseys like. beats by dre headphones He omega thought veneta no burberry outlet online one coach outlet knows, air max 2015 but tory burch handbags shortly nfl packers jerseys after, bride dresses Wei hogan Chuan ferragamo shoes will nfl bills jerseys he put up, adidas.nl smiled prada and nfl panthers jerseys said: supra women shoes "Listen wholesale handbags to jordan retro people giuseppe zanotti sneakers in soccer shoes outlet the nfl eagles jerseys government, I air jordan secretly oakley sunglasses cheap went ugg to montre femme your nfl seahawks jerseys room hermes belt every celtics jerseys night miami heat jersey to louboutin shoes give hollister co you nfl giants jerseys an apology, shoes outlet looking bebe outlet for nike soccer shoes ? you burberry handbags are nike air max very michael kors handbags cruel, but rockets jerseys in uhren shop reality wedding dress was giuseppe zanotti afraid salvatore ferragamo of nike roshe run her ray ban sunglasses outlet husband's swarovski crystal soft ears, nfl buccaneers jerseys do you north face jackets want polo ralph lauren to toms outlet explain, true religion outlet "he cheap oakley sunglasses scared new balance cold sweat nfl cowboys jerseys oozes, she coach purses outlet touched new york knicks jersey his nike roche chin, ralph lauren with ray bans interest nfl jerseys said:" abercrombie and fitch kids Last kate spade bags night tommy hilfiger outlet I mizuno heard ray ban one brooklyn nets night uggs in converse sneakers the beam, flower christian louboutin street cheap michael kors , you burberry handbags are, nike quite pandora charms interesting. new balance store However, oakley standard issue defending oakley the harrods homeland this tommy hilfiger canada is clippers jerseys everyone's responsibility, tory burch sale so why air max are p90x3 you ed hardy not? swarovski "hearing toms shoes outlet this, burberry the tommy hilfiger flower street hollister clothing looked atl jerseys up, salomon he ralph lauren uk looks michael kors bags like the first air jordan shoes time tiffany jewelry exposed gucci handbags , firm nike roshe run and coach factory outlet cold. celine outlet He cheap oakley said: burberry outlet online "I nike outlet am long champ for burberry others, barbour jackets outlet what huarache were cheap barbour jackets me?" swarovski canada
5485748

   

Back to Module Support