dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.3
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
britneywright has joined #cinch
djbkd has quit [Quit: My people need me...]
jesser_ has joined #cinch
jesser_ has quit [Read error: Connection reset by peer]
jesser_ has joined #cinch
djbkd has joined #cinch
Crisopolis has quit [Ping timeout: 264 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
Azure has quit [Ping timeout: 255 seconds]
djbkd has joined #cinch
djbkd has quit [Ping timeout: 246 seconds]
Crisopolis has joined #cinch
frog|OFF is now known as green-big-frog
jesser_ is now known as jesser
postmodern has quit [Quit: Leaving]
Azure has joined #cinch
britneywright has joined #cinch
djbkd has joined #cinch
irsol has quit [Ping timeout: 252 seconds]
djbkd has quit [Ping timeout: 264 seconds]
irsol has joined #cinch
irsol has quit [Ping timeout: 264 seconds]
irsol has joined #cinch
irsol has quit [Ping timeout: 244 seconds]
irsol has joined #cinch
irsol has quit [Ping timeout: 264 seconds]
irsol has joined #cinch
sarkyniin has joined #cinch
<green-big-frog>
i need help... I'm trying to find out how I get a Bot to paste the plain text from pure text api... My script: http://hastebin.com/tocacilowu.rb
<green-big-frog>
butisn't your "example" going to far? All i want to do is get the text from the site (te site is only 3 lines of text, no html, no JSON, or similar) and let the bot post it...
<green-big-frog>
@Gizmokid2005
<Gizmokid2005>
no green-big-frog
<Gizmokid2005>
You need to make a GET request to the site in order to get the content to then display it.
<Gizmokid2005>
It would actually be easier if that was a json response.
<green-big-frog>
ok
<green-big-frog>
and how do I have to do that? I'm trying to learn ruby and so on with cinch, but I'm stuck with this for more than 5 hours...
<Gizmokid2005>
green-big-frog: look at examples
<Gizmokid2005>
like mine
<Gizmokid2005>
you need to get a webpage and parse it with ruby
<Gizmokid2005>
using google searches centered around that will help you with most of the code.
<Gizmokid2005>
green-big-frog: you may want to look at things like this: https://rubymonk.com/
<green-big-frog>
ty
<green-big-frog>
Am I right that I need something like nokogiri?
<green-big-frog>
@Gizmokid2005
<Gizmokid2005>
Likely
<green-big-frog>
ohh... I just found out that iheartqoutes has also a json api