type description xml files

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

type description xml files

tong-2
hi,

@nicolas:
for the google chrome api search extension i am developing i need to
host the XML type description files somewhere.
could these files added somewhere on haxe.org ?
they just get loaded/parsed once .. than saved into the browsers local
storage.

also something which indicates the actual haxe version would be nice (a
textfile with version number) ..
so the extension just has to reload the descriptions if a new haxe
release is available.

---

the source of the extension is here:
https://github.com/tong/dox.chrome

/tong

--
[) | 5 |< † |2 3 3 - http://disktree.net


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: type description xml files

Nicolas Cannasse
Le 05/09/2011 12:54, tong a écrit :
> hi,
>
> @nicolas:
> for the google chrome api search extension i am developing i need to
> host the XML type description files somewhere.
> could these files added somewhere on haxe.org ?
> they just get loaded/parsed once .. than saved into the browsers local
> storage.

Sure, ask Justin if he can upload them on the wiki.

> also something which indicates the actual haxe version would be nice (a
> textfile with version number) ..
> so the extension just has to reload the descriptions if a new haxe
> release is available.

You can parse http://haxe.org/file/CHANGES.txt first line ;)

Nicolas

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: type description xml files

tong-2
On 09/05/2011 01:02 PM, Nicolas Cannasse wrote:

> Le 05/09/2011 12:54, tong a écrit :
>> hi,
>>
>> @nicolas:
>> for the google chrome api search extension i am developing i need to
>> host the XML type description files somewhere.
>> could these files added somewhere on haxe.org ?
>> they just get loaded/parsed once .. than saved into the browsers local
>> storage.
>
> Sure, ask Justin if he can upload them on the wiki.
>

hmmm... maybe these files can get updated automatically using
hxwiki/src/tools/ApiSync.hx
.. what do you think ?

>> also something which indicates the actual haxe version would be nice (a
>> textfile with version number) ..
>> so the extension just has to reload the descriptions if a new haxe
>> release is available.
>
> You can parse http://haxe.org/file/CHANGES.txt first line ;)
>

ahh..alr8



--
[) | 5 |< † |2 3 3 - http://disktree.net


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: type description xml files

Andy Li
In reply to this post by tong-2
Can't the xml be hosted on github page?

cheers,
Andy

On Mon, Sep 5, 2011 at 6:54 PM, tong <[hidden email]> wrote:
hi,

@nicolas:
for the google chrome api search extension i am developing i need to
host the XML type description files somewhere.
could these files added somewhere on haxe.org ?
they just get loaded/parsed once .. than saved into the browsers local
storage.

also something which indicates the actual haxe version would be nice (a
textfile with version number) ..
so the extension just has to reload the descriptions if a new haxe
release is available.

---

the source of the extension is here:
https://github.com/tong/dox.chrome

/tong

--
[) | 5 |< † |2 3 3 - http://disktree.net


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: type description xml files

tong-2
In reply to this post by tong-2
On 09/05/2011 01:18 PM, tong wrote:

i just noticed that parsing the type description xml files chrashes
chrome (especially the flash9 api, 355kb).
so loading/parsing the xml files isn't possible at all #
.. searching for another solution now.

/tong

--
[) | 5 |< † |2 3 3 - http://disktree.net


--
haXe - an open source web programming language
http://haxe.org