tonybaldwin: tony baldwin (Default)
Okay...I've started to hack up the xmlrpc functions.
First, I had to replace all "<" and ">" in html tags in a post with"&lt;" and "&gt;",
and then, I have basically just handwritten out a relevant xml file.
Which looks like this:

<?xml version="1.0"?><methodCall><methodName>LJ.XMLRPC.postevent</methodName><params><param><value><struct><member><name>username</name><value><string>tonytraductor</string></value></member><member><name>password</name><value><string>XXXXXXXX</string></value></member><member><name>subject</name><value><string>xmlrpc posting</string></value></member><member><name>lineendings</name><value><string>pc</string><value></member><member><name>year</name><value><int>2010</int></value></member><member><name>mon</name><value><int>04</int></value></member><member><name>day</name><value><int>06</int></value></member><member><name>hour</name><value><int>10</int></value></member><member><name>min</name><value><int>46</int></value></member><member><name>prop_current_location</name><value><string></string></value></member><member><name>propr_current_mood</name><value><string>focused</string></value></member><member><name>prop_taglist</name><value><string>xmlrpc, xpostulate, wordpress, livejournal, dreamwidth, insanejournal</string></value></member><member><name>prop_currentmusic</name><value><string>none</string></value></member><member><name>userjournal</name><value><string>which journal?</string></value></member><member><name>event</name><value><string>Okay...I've started to hack up the xmlrpc functions.
First, I had to replace all "<" and ">" in html tags in a post with "&lt;" and "&gt;",
and then, I have basically just handwritten out a relevant xml file.


What I haven't done is tried to send such a file to a server, yet...
I'm not sure if the posting method has to be different from a flat post, in terms of simply sending this file as the post data...
More work...
But, hey, I'm working on it!
tonybaldwin: tony baldwin (Default)
I have now successfully posted to:

All with Xpostulate.

Xpostulate also has deadjournal posting integrated, but, since I don't have a deadjournal, I have not tested that.

Additionally, as some of you already know, Xpostulate also tweets to twitter and sends dents to

Earlier today I added DW-specific tags, and some additional html insertion features, as well.

ALSO: I initiated a project for Xpostulate on googlecode this morning.

There's still work to be done, of course...Plenty of work...
All the same, considering I started this project less than a week ago, I'm fairly satisifed!
I have already released a viable, crossposting blogging and microblogging client.

Sometimes I'm so awesome, I can't stand myself...



tonybaldwin: tony baldwin (Default)

As promised, I have added some html tag insertion features to Xpostulate, as well as insertion of dreamwidth specific cut and user tags, like this:
[personal profile] tonybaldwin

That's all the hacking for today...
I have uploaded a new zip file to Xpostulate

Oh, and I've changed the name from "eXp0stulate" to simply "Xpostulate".

I'm considering adding image insertion, and adding in the ftp tool I have in tcltext, so the user can upload an image from the Xpostulate interface, without calling an additional ftp client.
Does that sound useful?
That would be easy to add.
tonybaldwin: tony baldwin (Default)

Tweeting and Denting are now incorporated within the eXpostulate interface, so you can really annoy all your online friends, by x-xposting to 4 distinct blogging services, & denting and tweeting to announce your new articles!

At this moment, the denting/tweeting is still using curl, however, which is only native to * nix systems (should work on lin/bsd/mac without further configuration, but win users will have to install curl, which can be done, of course).

I will be attempting to work out tweeting/denting with tcl's own http post method. I've tried a few times, but unsuccessfully, so far. Need to log on to #tcl at freenode and get some help, or something.

posted with eXpostulate

tonybaldwin: tony baldwin (Default)

Is this subliminal?
Do I like Dreamwidth, because the icon looks like the symbol for Debian GNU/Linux (best operating system EVER!)?
tonybaldwin: tony baldwin (Default)

I've already made a few changes to eXp0stulate, primarily in the gui.
Rather than have a menu with options for posting to the 3 relevant services (livejournal, insanejournal, and dreamwidth), I have made buttons, and placed the "Post to: (which journal?)"(so you can post to a community, etc.) at the bottom of the interface.

Here's a new screenshot:

I have plans to edit the "Insert" menu, since DW uses slightly different tags than IJ and LJ (which both use stock LJ tags, for cut, user, community, etc.).
I may add more html options to that menu, as well (bold, italic, small, big, headings-h1, h2, etc., horizontal ruler, paragraph, blockquote, lists, etc.).
I also think that html syntax highlighting would be pretty awesome, so one could more readily see errors in html tags in an entry, before posting.
And, of course, spellchecking would be gro0vy.
Beyond that, there's other work to do. Currently eXp0stulate uses the old, flat post method. I'd like to get it writing out to xml, so it will function with the xml-rpc interface, which will then allow me to add both blogger and wordpress functions (which will also allow me to use it with my baldwinsoftware/blog).
I'd also like to incorporate a few more features, such as downloading and editing older entries. Right now, it only posts an entry.
This is a drawback, because, if the user finds an error in their entry once it's been posted, they have to edit it on-site, rather than in eXp0stulate.
Not convenient.
If I add in the ftp function from tcltext and tclup, heck, it could be a combo blogging client and html editor...maybe...
So, I have a full TODO list on the eXp0stulate wiki page.

One advantage I do think it has is, once you've posted an entry, the text widget does NOT clear (unless you deliberately clear it), so, the entry remains loaded, and you can post to all three current services (IJ, LJ, DW) simply by pressing the three buttons at the bottom of the interface, and, if you like, even x-post to a few communities by modifying the "Post to: [which journal?]" field and pressing said buttons again.
(In Logjam, for instance, one must logout/login to the distinct services, reloading the entry before changing services, in order to it's just, write an entry, and click, click, click...)
That's convenient, I think.

The user must be certain to make sure that "Post to: [which journal?]" is filled in with the name of the journal to which they are posting (their username if posting to their own journal, the name of a community, if that is what they wish). In TKLJ and Therapy, I had that field default to the user's username for the relevant service, but, since this program posts to 3 (and hopefully, in the future, 5 or more) services, defaulting to any specific username seemed impractical. I have a username on LJ that differs from that which I use on IJ and DW. I suspect others may have differing usernames, as well, so the field simply defaults to "which journal?", which means, if the user does not alter the field, they will be trying (unsuccessfully) to post to http://which journal?, or ij or dw, as the case may be.

It would be good to load menus with the user's communities, and also add user icon functionality, but the user icon feature would be useless for blogger and wordpress, of course, so I may just dispense with that.

Some might ask,"Why, Tony? Why make another blogging client for LJ, IJ, and DW?"
To which I answer,"Well...

  1. I keep blogs on several services, and want to make it as convenient and efficient as possible to X-post to all 6 blogs I keep;

  2. I want some features the others don't have;

  3. Why climb the mountain? because it's there... (i.e., it was something to do, and I like hacking);

  4. No such blogging client exists written in TclTk, and I like to promote the language;

Anyway, I've got to get away from this project at the moment and return to my translation work.

If you want to get on board and hack this thing up with me, let me know!
I'll add you to the, forums, and invite you to the baldwinsoftware googlegroup/listserv.

be well,

posted with eXp0stulate

tonybaldwin: tony baldwin (Default)
I've decided to take the code from TclTherapy (insanejournal client), and TkLJ (livejournal client), and join them together, adding functionality for DreamWidth, as well.
If you are seeing this post on any of IJ, LJ, and/or DW, that means I have successfully merged the code, and X-posted to all three blogging services.

I'll be calling this new bit of hackery
since it x-posts.
I'd like to add wordpress and blogger funcationality, but that will require my learning to get this thing to write out an xml file and play nice with the xml-rpc protocol, rather than just sending via http post.
Not sure...either way, it's just a matter of time.

Okay, so...let's see how she works...



tonybaldwin: tony baldwin (Default)

December 2013

8 91011121314


RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags