?

Log in

No account? Create an account
posting to sites without tag support - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

posting to sites without tag support [Jan. 12th, 2006|02:42 pm]
LogJam

logjam

[holographic]
[Current Music |R.E.M. - Half A World Away]

I want to use logjam to post to another journal site that doesn't support tags, but whenever I hit submit I get an error saying 'unknown metadata: taglist' and the entry doesn't post.
This happens even if I don't specify any tags for the entry.

Is there anyway of getting around this? I'm using 4.5.2, if that's any use :)
LinkReply

Comments:
From: mirrorbox
2006-01-12 03:02 pm (UTC)
Cannot you use some older version logjam without tags support?
(Reply) (Thread)
[User Picture]From: holographic
2006-01-12 03:15 pm (UTC)
I could, but that would either mean running two versions or having to manually edit LJ entries with tags
(Reply) (Parent) (Thread)
From: evan
2006-01-12 04:37 pm (UTC)
Currently, no. Fixing it is a little involved. I guess I could add another checkbox to the server settings like "server does not support tags".

*grumble at lj protocol*
(Reply) (Thread)
[User Picture]From: brad
2006-01-12 05:21 pm (UTC)
Dude, just don't send the metadata if there's no value. No UI changes. *shrug*.
(Reply) (Parent) (Thread)
[User Picture]From: gaal
2006-01-12 06:20 pm (UTC)
How do you delete a tag from an existing entry?
(Reply) (Parent) (Thread)
From: evan
2006-01-12 06:27 pm (UTC)
If there's no value, I send an empty string, because currently the data structures don't distinguish between "had a value on the server, but now cleared" and "never had a value".

So the "little involved" fixing is to either add another field for each attribute (has_mood, has_music, etc.), which can be simplified for the string metadata with NULL=unset, ""=novalue, though there's still all the boolean flags. So I could extend their enum to true/false/unset. Or I could just special-case tags.
(Reply) (Parent) (Thread)