tonybaldwin | blog

non compos mentis

Posts Tagged ‘blogging

Preview of Xpostulate Improvements

leave a comment »

A preview of what’s to come…

Thinking of UI enhancements, I added the Xpostulate little icon thingy right into the GUI.

What do you think?

Other items on their way:

  • Posterous support. I have interacted with the posterous api via bash with curl, so, just need to translate my scripting for that to tcl with http. Cake, but requires time. I thought I would have that done this past week, but, no joy…too much work (somebody’s gotta pay the rent around here).
  • Blogger support. – The great and benevolent Google® has granted me an API key, and I have looked at the API, but not yet played with it, but this is likely to come this season…soon, me dro0gies.
  • Read your statusnet public timeline or updates from a specific person. This I have, again, done in bash, so just a matter of coding it into tcl. Although, I question if this is appropriate for Xpostulate, and whether it might not be better to do this with iDenTickles only, since iDenTickles is a microblogging client, and Xpostulate is intended for crossposting to blogs, not reading others’ updates.
  • Download, edit, & republish older entries. This is on my todo list, but for each blogging service I have to look at how their API handles this, and then code stuff in, and develop new GUI elements for housing various functions, and blah, blah, blah. It will be work..heavy lifting…but it’s on my TODO list.

posted with Xpostulate

Written by tonybaldwin

September 24, 2011 at 10:16 pm

Posting to Posterous with curl

leave a comment »

Okay, so I DID successfully post with curl (thanks to some clarifications frmo John Tucker). Now, I have written a script that will allow me to write a post in vim and fire it off. It looks like this:

#!/bin/bash 
# post to posterous from bash cli with curl 

# I could do this with read -p "Enter ur username d0od: " username 
# kind of thing, but I just hardwired my info in. 
# edit accordingly for your info. 
username=YOUR_USERNAME 
password=YOUR_PASSWORD 
apitok=YOUR_API_TOKEN 

# creates a date stamp for naming the post file 
filedate=$(date %m%d%y%H%M%S) 

# set 
post title read -p "Enter a post title: " ptitle 

# write post in vim 
vim $filedate.ppost pbody="$(cat $filedate.ppost)" 

# send post to posterous with curl 

if [[ $(curl -X POST -u $username:$password -d "api_token=$apitok" \
-d "post[title]=$ptitle" -d "post[body]=$pbody" \
http://posterous.com/api/2/sites/1814977/posts | grep error) ]]; then 
echo "Too bad, do0d...FAIL!" 
else 
echo "Success! Posted to Posterous!" 
fi 

mv $(pwd)/$filedate.ppost ~/Documents/fposts/ 
# moved post to dir for safekeeping. 
# you can use different dir, d00d 

exit

This means that I have consquered the posterous API, and will now be able to add posterous support to Xpostulate.

Written by tonybaldwin

September 19, 2011 at 6:48 pm

iDenTickle v1.1 released

leave a comment »

Well…I just couldn’t leave well enough alone.
Yesterday I released version 1.0 of IdenTickle, my tcl/tk denter/tweeter tool…but I just kept thinking, it could be better.
The interface could be cleaner, with the setup stuff separate.
And, perhaps an about button, as is common, to bring up a little dialog with a bit of info, and direct the user to the homepage.
Plus buttons to open your browser to your identi.ca or twitter feed…stuff like that.

So, today you have IdenTickle version 1.1.


The main interface.


and, when you open the setup tab/frame to enter your setup information.
As you’ll recall, v 1.0 was already saving your login data (previous version required entry of said data, every time…annoying).

enjoy
./tony

Written by tonybaldwin

May 21, 2010 at 6:46 am

Xpostulate now playing with Tumblr, too

leave a comment »

Okay…well, that was easy..
I just successfully made a test post to Tumblr using Xpostulate.

I have just uploaded new installers for both Windows and Linux, as well as the new source code, and am about to update the manual with information relevant to Tumblr posting.

Written by tonybaldwin

April 16, 2010 at 7:02 pm

eXp0stulate – x-posting blog client

leave a comment »

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. I have successfully merged the code, and X-posted to all three of the above mentioned blogging services.


I’ll be calling this new bit of hackery “eXp0stulate“, since it x-posts. I’d like to add wordpress and blogger funcationality (especially since THIS blog is WordPress blog), but I believe 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 a flat entry via http post. Not sure…either way, it’s just a matter of time. I also want to get it to download and edit older posts.

Written by tonybaldwin

March 26, 2010 at 4:31 am

eXp0stulate – x-posting blog client

leave a comment »

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.
I have successfully merged the code, and X-posted to all three of the above mentioned blogging services.

I’ll be calling this new bit of hackery
eXp0stulate“,
since it x-posts.
I’d like to add wordpress and blogger funcationality (especially since THIS blog is WordPress blog), but I believe 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 a flat entry via http post.
Not sure…either way, it’s just a matter of time.

I also want to get it to download and edit older posts.

Written by tonybaldwin

March 25, 2010 at 9:29 pm

BSoft wordpress theme

leave a comment »

I made my own WordPress theme…

Sort of.
It’s a modified version of the plaintxtblog theme by Scott Wallick. Basically, I just changed the colors to make it more consistent with the rest of the baldwinsoftware.com site.

Get the BSoft wordpress theme at the baldwinsoftware.com/downloads page.

Written by tonybaldwin

March 9, 2010 at 6:27 am

Posted in baldwinsoftware

Tagged with , ,