More update.bml stuff
Dec. 21st, 2006 01:30 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
In case anyone wants to comment on the script but doesn't feel comfortable doing so on us.o, here is a good place. I'm assuming that anyone who wants to use that script has an LJ account, since the script itself is made to work with LJ!
---
Because it seems fitting, here's a script (not written by me!) which restores the appearance and formatting of the old update.bml page.
Also, I've finally posted the script to add a tagslist to update.bml. There's an easter egg in there of a sorts -- didn't bother to remove my uglification code, but it can't be activated unless you know the exact steps.
Ah, the stupid thing is that my script is not compatible with the first one, so unless someone (else) is willing to figure out how to fix that, you'll have to choose one or the other.
The information below is outdated; most updated info is in the script itself and probably also in the extended description over at us.o.
The script will probably contain the most updated form of this, but here goes:
Usage notes:
Random notes:
Changelog:
2007.01.07
---
Because it seems fitting, here's a script (not written by me!) which restores the appearance and formatting of the old update.bml page.
Also, I've finally posted the script to add a tagslist to update.bml. There's an easter egg in there of a sorts -- didn't bother to remove my uglification code, but it can't be activated unless you know the exact steps.
Ah, the stupid thing is that my script is not compatible with the first one, so unless someone (else) is willing to figure out how to fix that, you'll have to choose one or the other.
The information below is outdated; most updated info is in the script itself and probably also in the extended description over at us.o.
The script will probably contain the most updated form of this, but here goes:
Usage notes:
- will only work with journals you can edit via the Tags Management page, sorry! That means your own personal journal and any communities you manage. Trying to do it any other way would require parsing the tags page of the journal, which I'm not quite up to
- cmd-clicking /ctrl-clicking on the tags will open the tagspage in a new tab
- when expanded, the list shows all tabs. When collapsed, it shows the top $n tags based on usage frequency, where $n is a number you define. If there are many tags tied for $nth place, it shows all of them
- there is no auto-complete, and it will not synchronize the textbox and the list when input is typed. However, it should always synchronize on click
- the tags list will show up in both when you update and edit. It will also automatically detect the journal you're posting to
Random notes:
- If you're wondering where I grab the tags info, I get it from the tags management page which has an array of tags and tags data
- was thinking of caching the tags, but then I remembered that GM has a problem with UTF-8 encoding, and I think that certain languages require UTF-8. Would rather not risk it
- does not work with the script that restores the old update.bml appearance. Both of us move things around using javascript, so, um, yeah. Might be possible to integrate the two though
- There is a hidden uglification setting built in which moves the icon to the bottom and removes music/location textfields. I've deliberately hidden it because I plan to use it, but I don't think anyone else would appreciate it
- if anyone should want to grab any part of this and use it for any reason, say to merge with another script, then go ahead (do I even have to say that? *g*). However, if you discover any bugs when you take the code, please email me at my livejournal.com email
- I need to clean up my code
Changelog:
2007.01.07
- fixed bug where "&" were showing as "&" (thanks to turloughishere for pointing it out)
- changed whitespace in the tag url to a '+', in keeping with the tag url conventions on LJ
- there is no journal dropdown when you're logged out, so check whether it exists or not
- remembers whether you have the tagslist expanded or not