Hey Marcos,
I just pushed a fix to GH. I have a couple more tweaks and features in
mind before I push another gem, but you can clone the source and
install the gem locally with a quick rake command:
"rake install"
Re: the formatted message issue, I haven't really sat down to think
about the solution for it. It's difficult when there's no standard,
but maybe I'll just strip all the html and let the user deal with how
they want to format a non-markedup version of the message.
On Sep 25, 2:43 am, Marcos Piccinini <
chad...@gmail.com> wrote:
> Hi Jeff,
>
> Ha, no, thank you man.. you rock. I learned I lot from you(r code).... =D
>
> To be honest with you, this thing I'm working had it's own daemonize way
> and I taught the lib approach would fit better (dunno, I'll release it
> soon, will link you the code so you have a look hehe). But I'm sure the
> DSL is very handy, I'm tempted to rewrite a old thing I have that will
> be perfect =D
>
> Ah, allow me a off, did you get to any conclusion about text formatting?
> Looks like pidgin uses <spans>, and <em>. Gtalk uses () and ** , and
> xmpp don't have a XEP-DOLIKETHIS...
> Hmm... and how to write raw ?? heh will check the code...
>
>
>
> Jeff Smick wrote:
> > Hey Marcos,
>
> > Thanks for figuring this out. I've entered a ticket on Blather's
> > github page and will knock it out as soon as I have a couple minutes.
> > Should be in the next day or so.
>
> > BTW, the pubsub DSL in Blather is the newest bit. Please send over any
> > feedback you have on how I might be able to make it simpler/better to
> > use.
>
> > --Jeff
>
> >>> docs:
http://squishtech.rubyforge.org/blather/(Blather::DSL::PubSub)
>
> >>> If not, you just need to make sure you're sending the stanza over the wire.
>
> >>> On Mon, Sep 21, 2009 at 4:25 PM, nofxx <
chad...@gmail.com> wrote:
>
> >>>> Hi there,
>
> >>>> Before anything, thanks for blather!! Hehe.. when I was in the need of
> >>>> xmpp I saw xmpp4r and taught: Oh man, we need an EM based on....
> >>>> search github and hapiness ^ 2 =D
>
> >>>> I'm a lil lost with PubSub, does someone has an example how to create
> >>>> and subscribe to a node?
>
> >>>> Supossing my jid is
m...@dom.net I'm trying: