Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Simple AIR GML Recorder

17 views
Skip to first unread message

cyancdesign

unread,
Sep 16, 2010, 6:27:56 PM9/16/10
to Graffiti Markup Language
Hey all,
I'm working on a project coming up where I want to record GML off a
digital graffiti wall so I can replay it in other locations at the
event I'll be at.
And I've been using Adobe AIR, so I wrote up a quick test application
so I know I'll be able to integrate something like this into my
current applications.

I was able to upload some tags with it and they seem to work properly
on http://000000book.com
http://000000book.com/data/21229
http://000000book.com/data/21231
http://000000book.com/data/21228

it also work with, http://toki-woki.net/p/Okr/#/play/21231

I have a short post written about it here along with the source:
http://www.cyancdesign.com/2010/09/simple-air-gml-recorder/

Please give it a try and let me know if anything needs fixing in it.
I would like to make sure I have the GML correct before making the
display more elaborate.

Thanks,
Chris Yanc
cyancdesign

Jamie Wilkinson

unread,
Sep 16, 2010, 7:39:13 PM9/16/10
to graffiti-mar...@googlegroups.com
On Sep 16, 2010, at 3:27 PM, cyancdesign wrote:

I was able to upload some tags with it and they seem to work properly
on http://000000book.com
http://000000book.com/data/21229
http://000000book.com/data/21231
http://000000book.com/data/21228

it also work with, http://toki-woki.net/p/Okr/#/play/21231

I have a short post written about it here along with the source:
http://www.cyancdesign.com/2010/09/simple-air-gml-recorder/

Hey Chris, this looks awesome. Your GML looks great (the validator seems to be working OK too!)

The GMLImageRenderer is rendering things sideways, but I think that's a GIR bug rather than your something off with your <up> vector

I'd love to see direct uploading to 000000book :) Let me know if I could be of any help!!

-jamie

cyancdesign

unread,
Sep 16, 2010, 11:17:12 PM9/16/10
to Graffiti Markup Language


On Sep 16, 7:39 pm, Jamie Wilkinson <ja...@jamiedubs.com> wrote:
> On Sep 16, 2010, at 3:27 PM, cyancdesign wrote:
>
> > I was able to upload some tags with it and they seem to work properly
> > onhttp://000000book.com
> > it also work with,http://toki-woki.net/p/Okr/#/play/21231
>
> > I have a short post written about it here along with the source:
> >http://www.cyancdesign.com/2010/09/simple-air-gml-recorder/
>
> Hey Chris, this looks awesome. Your GML looks great (the validator seems to be working OK too!)http://000000book.com/data/21229/validate
>
> The GMLImageRenderer is rendering things sideways, but I think that's a GIR bug rather than your something off with your <up> vectorhttp://000000book.com/system/images/21229/large/output21229.png?12846...
>
> I'd love to see direct uploading to 000000book :) Let me know if I could be of any help!!
>
> -jamie
>
> http://jamiedubs.com|http://fffff.at


Thanks Jamie!
I was never 100% sure what I should put in the <up> tags.
right now it is like this, and i think just copied it from other GML I
thought was right.
<up>
<x>1</x>
<y>0</y>
<z>0</z>
</up>

I had it a different way before the thumbnail looked right after i
uploaded it to 000000book,
but the flash player would lock up loading the GML and crash my
browser.
I can leave it for now, or switch it up if needed.

Chris

Muharrem Yildirim

unread,
Sep 17, 2010, 3:47:12 AM9/17/10
to graffiti-mar...@googlegroups.com
Hey Chris,

On Fri, Sep 17, 2010 at 6:17 AM, cyancdesign <cy...@cyancdesign.com> wrote:

Thanks Jamie!
I was never 100% sure what I should put in the <up> tags.
right now it is like this, and i think just copied it from other GML I
thought was right.
<up>
              <x>1</x>
              <y>0</y>
              <z>0</z>
</up>

I don't know if you've tested this but if you create the up vector like [0,0,0] thumbnail will be fine. I've just tested.
 

I had it a different way before the thumbnail looked right after i
uploaded it to 000000book,
but the flash player would lock up loading the GML and crash my
browser.
I can leave it for now, or switch it up if needed.

Chris



--
Muharrem Yildirim

cyancdesign

unread,
Sep 17, 2010, 12:20:07 PM9/17/10
to Graffiti Markup Language
Thanks Muharrem,
I've updated that in my source and air files in my post.
And it's right now.
Chris

On Sep 17, 3:47 am, Muharrem Yildirim <yildirimmuhar...@gmail.com>
wrote:
> > Unsubscribe: graffiti-markup-la...@googlegroups.com<graffiti-markup-langu age%2Bunsu...@googlegroups.com>
>
> --
> Muharrem Yildirim

cyancdesign

unread,
Sep 17, 2010, 4:41:16 PM9/17/10
to Graffiti Markup Language
Jamie,
I have the recorder in my project now,
and I'm able to send out the GML for actionscript and use curl in a
PHP page to upload to 000000book.
It is all uploading just fine, except I can't get the who/uploader/
username filled in.
I have the <username> tag in the GML
and i have &username=cyancdesign and &author=cyancdesign in the curl
code trying to cover both bases.
Is it a different variable name I should be using?
Chris

On Sep 16, 7:39 pm, Jamie Wilkinson <ja...@jamiedubs.com> wrote:
> On Sep 16, 2010, at 3:27 PM, cyancdesign wrote:
>
> > I was able to upload some tags with it and they seem to work properly
> > onhttp://000000book.com
> > it also work with,http://toki-woki.net/p/Okr/#/play/21231
>
> > I have a short post written about it here along with the source:
> >http://www.cyancdesign.com/2010/09/simple-air-gml-recorder/
>
> Hey Chris, this looks awesome. Your GML looks great (the validator seems to be working OK too!)http://000000book.com/data/21229/validate
>
> The GMLImageRenderer is rendering things sideways, but I think that's a GIR bug rather than your something off with your <up> vectorhttp://000000book.com/system/images/21229/large/output21229.png?12846...

Jamie Wilkinson

unread,
Sep 17, 2010, 9:53:41 PM9/17/10
to graffiti-mar...@googlegroups.com

On Sep 17, 2010, at 1:41 PM, cyancdesign wrote:

> Jamie,
> I have the recorder in my project now,
> and I'm able to send out the GML for actionscript and use curl in a
> PHP page to upload to 000000book.
> It is all uploading just fine, except I can't get the who/uploader/
> username filled in.
>
> I have the <username> tag in the GML
> and i have &username=cyancdesign and &author=cyancdesign in the curl
>>
> code trying to cover both bases.
>
> Is it a different variable name I should be using?

Confirmed this is a bug on the 000book side. I'll shoot out a mail when this has been addressed. Thanks for letting me know

@all -- it's best to put this kind of data in the GML it since it's much easier for me to extract later (rather than in the POST or GET args)

Thanks

Reply all
Reply to author
Forward
0 new messages