The notice *is* referenced in the thr in-reply-to

Is there a file anywhere showing what should be in the Atom thats wrapped
inside the magic sig? I *finally* got my public key to verify
(modulus/exponent output is decimal in ruby by default. in php it's binary)

Now my biggest problem is actually sending the right data. Right now, I'm
kinda just making it up as I go.

On Tue, Mar 23, 2010 at 7:16 AM, James Walker <[email protected]> wrote:

> Hey Tyler,
>
> The checks mean that the user you've slapped to (i.e. the user id in
> main/salmon/user/N) needs to either be referenced in the <link
> rel="ostatus:attention" /> or have posted a notice referenced in the
> thr in-reply-to.
>
> It looks like your snippet is a template? if that's actually what
> you're trying to send, it's pretty guaranteed to fail.
>
> .j
>
> On Tue, Mar 23, 2010 at 9:55 AM, tyler gillies <[email protected]>
> wrote:
> > in usersalmon.php, what does this mean:
> >
> > // Notice must either be a) in reply to a notice by this user
> >         // or b) to the attention of this user
> >
> > im trying to slap and i get: <div class="error">In reply to a notice not
> by
> > this user</div>
> >
> > this is my atom:
> >
> > notice = "http://dev.walkah.me/notice/55";
> >
> > <?xml version='1.0' encoding='UTF-8'?>
> > <entry xmlns='http://www.w3.org/2005/Atom'>
> >   <id>[email protected]</id>
> >
> > <author><name>[email protected]</name><uri>
> [email protected]</uri></author>
> >   <thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0'
> >     ref='#{notice}' href='#{notice}'></thr:in-reply-to>
> >   <content>#{Time.now}</content>
> >   <title>#{Time.now}</title>
> >   <updated>#{Time.now.xmlschema}</updated>
> > </entry>
> >
> > --
> > Everyone Loves Tea
> > http://www.everyonelovestea.com
> >
> > _______________________________________________
> > StatusNet-dev mailing list
> > [email protected]
> > http://lists.status.net/mailman/listinfo/statusnet-dev
> >
>
>
>
> --
> James Walker :: http://walkah.net/
>



-- 
Everyone Loves Tea
http://www.everyonelovestea.com
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to