Entry tags:
Question thread #76
It's time for another question thread!
The rules:
- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
The rules:
- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.

no subject
If I were writing JavaScript and I wanted to call all the icons uploaded to a currently logged in account (like I presume you guys do on the icon browser although I am not using jQuery), what would I have to invoke to do that? I know they reside in a database on the server side I just can't find how to get to it. This is also a learning exercise for me and I don't know perl (yet).
I could probably just write something that pulls all the image files + their keywords listed on the edit icons page and sticks em into an array but if I can use the thing you guys do that'd be awesome.
Also fyi, I am not asking with the intent to circumvent having to get a paid account for some features, I'm gonna go out of my way to ensure this part of my project is only for paid accounts.
no subject
1- Your Javascript fetches https://www.dreamwidth.org/__rpc_userpicselect .
2- If all goes well, you get back a JSON thingy* containing: the sorted icon ids, plus (URL, state, width, height, description, comment, id, keywords) for each icon id.
*: "thingy" is totally a technical term.
no subject
And yuup, thingy is 100% a technical term, I'll be using jsonThingy as variable :D