dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.4
<Wobbley>
hmm anyone have a recommended url parser gem for cinch?
<dominikh>
the standard library.
<Wobbley>
Well guess I was unclear, i ment a gem that takes the url and prints the title in the channel
<Wobbley>
I was not aware that there was a standard one? :O
<dominikh>
it's a couple lines of code
<dominikh>
URI.parse for extracing URLs, and e.g. nokogiri or mechanize or something for getting the title
<Wobbley>
hmm yeah, I was just lazy and wanted something done :p
<Wobbley>
I mean why re-invent the wheel
<dominikh>
also: searching for "cinch-" on rubygems.org literally has "cinch-title: Plugin for the irc-framework Cinch to output HTML-titles" as the first result
<Wobbley>
Yeah
<Wobbley>
I found that one
<Wobbley>
I am just not getting it to work properly, and the documentation on how to use it seems a bit off from the actual code...
<Wobbley>
Perhaps I should go make sure it is the right gem :P
<dominikh>
it's written by Netfeed, I expect it to be of good quality and documented properly
<Wobbley>
I don't know who that is, but if you say so :D The classes he imports in the documentation is a bit different then what I actually have in the gem. No worries though, i had made a stupid mistake :D
<dominikh>
good luck, I'll get some sleep instead
<Wobbley>
Heh, I was about to say
<Wobbley>
Do you ever sleep dominikh
<Wobbley>
Yeah i fixed it and it is working now :D
<Netfeed>
dominikh: pssch, documented properly :P
Azure has quit [Ping timeout: 240 seconds]
Azure has joined #cinch
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
frog|OFF is now known as green-big-frog
green-big-frog is now known as frog|OFF
sarkyniin has joined #cinch
sarkyniin has quit [Ping timeout: 244 seconds]
sarkyniin has joined #cinch
sarkyniin has quit [Ping timeout: 240 seconds]
sarkyniin has joined #cinch
apt-get_ has joined #cinch
sarkyniin has quit [Ping timeout: 240 seconds]
frog|OFF is now known as green-big-frog
apt-get_ has quit [Ping timeout: 246 seconds]
apt-get_ has joined #cinch
apt-get_ has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
sarkyniin has joined #cinch
sarkyniin has quit [Ping timeout: 265 seconds]
britneywright has joined #cinch
sarkyniin has joined #cinch
Azure has quit [Quit: Blue Sky Fish]
Azure has joined #cinch
<sideone>
hey all
<sideone>
can i load multiple plugins from the same ruby file? seems like the bot only responds to the last plugin defined
<sideone>
maybe i just need multiple bot = chunks?
<dominikh>
you can have all plugins in the same file if you want. Cinch doesn't even care about your files, it cares about classes.
<sideone>
is there an example somewhere to reference? im a bit new to ruby.
<sideone>
been looking through the cinch gem at ruby doc, is there more documentation/examples somewhere else?