Code Monkey home page Code Monkey logo

sopel-rss's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sopel-rss's Issues

feature request: custom update interval for feeds

possible to add update interval for feeds example feed 1 updates every minute feed 2 updates only every 30 minutes... That UPDATE_INTERVAL = 60 # seconds in source code is a global value that applies for all feeds or?

error loading rss.py module

Error in rss setup procedure: say() missing 1 required positional argument: 'recipient' (../../../../../.sopel/modules/rss.py:518)

Postings

The new commit is now posting a blank line in my SSH window along with the normal posting in my #channel :)

url shortner

Nice job...

Would like an option for url shortner

Second feed keeps on disappearing

I think there's a bug with parsing the config file. Only the first feed loads after I add a second feed and restart the bot. And the bot overwrites the config file on the second stop.

Traceback Error: IndexError

FWIW... I got the following when adding this feed..
https://feeds.feedburner.com/DiscoveryNews-Top-Stories

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/sopel/bot.py", line 441, in call
exit_code = func(sopel, trigger)
File "/usr/local/lib/python2.7/dist-packages/sopel/module.py", line 343, in guarded
return function(bot, trigger, _args, *_kwargs)
File "/home/znc/.sopel/modules/rss3.py", line 179, in rss
__rss(bot, args)
File "/home/znc/.sopel/modules/rss3.py", line 207, in __rss
globals()[COMMANDS[cmd]['function']](bot, args)
File "/home/znc/.sopel/modules/rss3.py", line 218, in __rssAdd
checkresults = __feedCheck(bot, feedreader, channel, feedname)
File "/home/znc/.sopel/modules/rss3.py", line 551, in __feedCheck
item = feed['entries'][0]
IndexError: list index out of range

OSError: [Errno 5] Input/output error

I was doing some testing and got this:

I loaded venv for python3
started sopel

I issued .rss in the channel window which returned the following:

Traceback (most recent call last):
File "/home/znc/.sopel-env/lib/python3.4/site-packages/sopel/bot.py", line 441, in call
exit_code = func(sopel, trigger)
File "/home/znc/.sopel-env/lib/python3.4/site-packages/sopel/module.py", line 343, in guarded
return function(bot, trigger, _args, *_kwargs)
File "/home/znc/.sopel/modules/rss3.py", line 178, in rss
args = shlex.split(trigger.group(2))
File "/usr/lib/python3.4/shlex.py", line 276, in split
return list(lex)
File "/usr/lib/python3.4/shlex.py", line 266, in next
token = self.get_token()
File "/usr/lib/python3.4/shlex.py", line 93, in get_token
raw = self.read_token()
File "/usr/lib/python3.4/shlex.py", line 121, in read_token
nextchar = self.instream.read(1)
OSError: [Errno 5] Input/output error

It works ok with python2.7 with the following return:

synopsis: .rss add|del|fields|format|get|help|join|list|update

error unloaded

when I insert it in the destination directory, and restart, it gives me an error in the unloaded form

Color Format

I'm having a heck of a time trying to config each feedname with diff colors in the .cfg file, Can you give me an example ie fl+f,?tl

feature request: configurable templates per feed

It should be possible to style each feed individually. This way one could for example color code feeds in some channels but not in others. The 'format' option of '.rss add' and the 'feeds' value in the config file need to be made to be more generally for this to work. And there needs to be a command '.rss template' similar to '.rss format'.

Post feed to more than one channel

Is it possible to post the same feed to more than one channel?
At the moment I can only add the feed again, and I have to use a different name for it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.