|
|
You are viewing the most recent 25 entries.
19th March 2006
8:45pm: Wow
Wow, this is the second link on Google for me. Anyhow, you can find me here: Jedbrown.netThis blog is now only used for testing.
16th January 2006
2:25pm: Movable Type API
Movable Type User Manual: PROGRAMMATIC INTERFACES« Table of Contents
PROGRAMMATIC INTERFACES XML-RPC APIMovable Type features a full implementation of the Blogger XML-RPC API (where applicable). The only two methods that are not supported by Movable Type are
getTemplate and setTemplate, due to the differences between Blogger's template system and Movable Type's template system. Spanish verison: http://www.weblogs.com.uy/docs/mtmanual_programmatic.htmlEnglish: http://jaimbizzle.sourceforge.net/mt/docs/mtmanual_programmatic.html
Movable Type also supports the metaWeblog XML-RPC API (also where applicable). Finally, Movable Type also adds a couple of other methods of its own for manipulating the categories assigned to your entries. Usage of any of these XML-RPC APIs requires that your webserver have both LWP::UserAgent and SOAP::Lite installed; if yours does not, the Installation Instructions can tell you how to install them. Following are the XML-RPC methods supported by Movable Type: - blogger.newPost
Description: Creates a new post, and optionally publishes it.
Parameters: String appkey, String blogid, String username, String password, String content, boolean publish
Return value: on success, String postid of new post; on failure, fault
- blogger.editPost
Description: Updates the information about an existing post.
Parameters: String appkey, String postid, String username, String password, String content, boolean publish
Return value: on success, boolean true value; on failure, fault
- blogger.deletePost
Description: Deletes a post.
Parameters: String appkey, String postid, String username, String password, boolean publish
Return value: on success, boolean true value; on failure, fault
- blogger.getRecentPosts
Description: Returns a list of the most recent posts in the system.
Parameters: String appkey, String blogid, String username, String password, int numberOfPosts
Return value: on success, array of structs containing ISO.8601 dateCreated, String userid, String postid, String content; on failure, fault
Notes: dateCreated is in the timezone of the weblog blogid
- blogger.getUsersBlogs
Description: Returns a list of weblogs to which an author has posting privileges.
Parameters: String appkey, String username, String password
Return value: on success, array of structs containing String url, String blogid, String blogName; on failure, fault
- blogger.getUserInfo
Description: Returns information about an author in the system.
Parameters: String appkey, String username, String password
Return value: on success, struct containing String userid, String firstname, String lastname, String nickname, String email, String url; on failure, fault
Notes: firstname is the Movable Type username up to the first space character, and lastname is the username after the first space character.
- metaWeblog.newPost
Description: Creates a new post, and optionally publishes it.
Parameters: String blogid, String username, String password, struct content, boolean publish
Return value: on success, String postid of new post; on failure, fault
Notes: the struct content can contain the following standard keys: title, for the title of the entry; description, for the body of the entry; and dateCreated, to set the created-on date of the entry. In addition, Movable Type's implementation allows you to pass in values for five other keys: int mt_allow_comments, the value for the allow_comments field; int mt_allow_pings, the value for the allow_pings field; String mt_convert_breaks, the value for the convert_breaks field; String mt_text_more, the value for the additional entry text; String mt_excerpt, the value for the excerpt field; String mt_keywords, the value for the keywords field; and array mt_tb_ping_urls, the list of TrackBack ping URLs for this entry. If specified, dateCreated should be in ISO.8601 format.
- metaWeblog.editPost
Description: Updates information about an existing post.
Parameters: String postid, String username, String password, struct content, boolean publish
Return value: on success, boolean true value; on failure, fault
Notes: the struct content can contain the following standard keys: title, for the title of the entry; description, for the body of the entry; and dateCreated, to set the created-on date of the entry. In addition, Movable Type's implementation allows you to pass in values for five other keys: int mt_allow_comments, the value for the allow_comments field; int mt_allow_pings, the value for the allow_pings field; String mt_convert_breaks, the value for the convert_breaks field; String mt_text_more, the value for the additional entry text; String mt_excerpt, the value for the excerpt field; String mt_keywords, the value for the keywords field; and array mt_tb_ping_urls, the list of TrackBack ping URLs for this entry. If specified, dateCreated should be in ISO.8601 format.
- metaWeblog.getPost
Description: Returns information about a specific post.
Parameters: String postid, String username, String password
Return value: on success, struct containing String userid, ISO.8601 dateCreated, String postid, String description, String title, String link, String permaLink, String mt_excerpt, String mt_text_more, int mt_allow_comments, int mt_allow_pings, String mt_convert_breaks, String mt_keywords; on failure, fault
Notes: link and permaLink are both the URL pointing to the archived post. The fields prefixed with mt_ are Movable Type extensions to the metaWeblog.getPost API.
- metaWeblog.getRecentPosts
Description: Returns a list of the most recent posts in the system.
Parameters: String blogid, String username, String password, int numberOfPosts
Return value: on success, array of structs containing ISO.8601 dateCreated, String userid, String postid, String description, String title, String link, String permaLink, String mt_excerpt, String mt_text_more, int mt_allow_comments, int mt_allow_pings, String mt_convert_breaks, String mt_keywords; on failure, fault
Notes: dateCreated is in the timezone of the weblog blogid; link and permaLink are the URL pointing to the archived post
- metaWeblog.newMediaObject
Description: Uploads a file to your webserver.
Parameters: String blogid, String username, String password, struct file
Return value: URL to the uploaded file.
Notes: the struct file should contain two keys: base64 bits (the base64-encoded contents of the file) and String name (the name of the file). The type key (media type of the file) is currently ignored.
- mt.getRecentPostTitles
Description: Returns a bandwidth-friendly list of the most recent posts in the system.
Parameters: String blogid, String username, String password, int numberOfPosts
Return value: on success, array of structs containing ISO.8601 dateCreated, String userid, String postid, String title; on failure, fault
Notes: dateCreated is in the timezone of the weblog blogid
- mt.getCategoryList
Description: Returns a list of all categories defined in the weblog.
Parameters: String blogid, String username, String password
Return value: on success, an array of structs containing String categoryId and String categoryName; on failure, fault.
- mt.getPostCategories
Description: Returns a list of all categories to which the post is assigned.
Parameters: String postid, String username, String password
Return value: on success, an array of structs containing String categoryName, String categoryId, and boolean isPrimary; on failure, fault.
Notes: isPrimary denotes whether a category is the post's primary category.
- mt.setPostCategories
Description: Sets the categories for a post.
Parameters: String postid, String username, String password, array categories
Return value: on success, boolean true value; on failure, fault
Notes: the array categories is an array of structs containing String categoryId and boolean isPrimary. Using isPrimary to set the primary category is optional--in the absence of this flag, the first struct in the array will be assigned the primary category for the post.
- mt.supportedMethods
Description: Retrieve information about the XML-RPC methods supported by the server.
Parameters: none
Return value: an array of method names supported by the server.
- mt.supportedTextFilters
Description: Retrieve information about the text formatting plugins supported by the server.
Parameters: none
Return value: an array of structs containing String key and String label. key is the unique string identifying a text formatting plugin, and label is the readable description to be displayed to a user. key is the value that should be passed in the mt_convert_breaks parameter to newPost and editPost.
- mt.getTrackbackPings
Description: Retrieve the list of TrackBack pings posted to a particular entry. This could be used to programmatically retrieve the list of pings for a particular entry, then iterate through each of those pings doing the same, until one has built up a graph of the web of entries referencing one another on a particular topic.
Parameters: String postid
Return value: an array of structs containing String pingTitle (the title of the entry sent in the ping), String pingURL (the URL of the entry), and String pingIP (the IP address of the host that sent the ping).
- mt.publishPost
Description: Publish (rebuild) all of the static files related to an entry from your weblog. Equivalent to saving an entry in the system (but without the ping).
Parameters: String postid, String username, String password
Return value: on success, boolean true value; on failure, fault
NOTE: the value of appkey is ignored by Movable Type in all of the Blogger XML-RPC methods. You can use Movable Type's XML-RPC implementation with existing tools like w.bloggar, BlogApp, BlogLet, BlogBuddy, Jericho, etc. For example, to set up BlogBuddy to post to your Movable Type weblog, follow these instructions: Download BlogBuddy from http://blogbuddy.sourceforge.net/. Unpack the archive, and install the application.
Open the BlogBuddy application.
Select General Settings from the Settings menu. On the General tab, enter your Movable Type username in UserName, and your password in Password.
In the Remote Host tab, enter the name of the host where your version of Movable Type is installed into Host name, and the path to mt-xmlrpc.cgi into Endpoint. For example, if mt-xmlrpc.cgi is located at http://www.example.com/bar/mt-xmlrpc.cgi, you should enter www.example.com into Host name, and /bar/mt-xmlrpc.cgi into Endpoint. If your webserver runs on a port other than 80, you should also change the port setting.
In the Blogs tab, click the Update blogs button; BlogBuddy will contact Movable Type on your webserver, and ask it for a list of weblogs which you have access to (using getUsersBlogs, above).
You can now post to your Movable Type weblog(s) using BlogBuddy's posting interface.
----------
http://www.sixapart.com/pronet/docs/trackback_spec TrackBack uses a REST model, where requests are made through standard HTTP calls. To send a TrackBack ping, the client makes a standard HTTP request to the server, and receives a response in a simple XML format (see below for more details). In the TrackBack system, the URL that receives TrackBack pings is the TrackBack Ping URL. A typical TrackBack Ping URL looks like http://www.example.com/trackback/5, where 5 is the TrackBack ID. Server implementations can use whatever format makes sense for the TrackBack Ping URL; client implementations should not depend on a particular format. To send a ping, the client sends an HTTP POST request to the TrackBack Ping URL. The client MUST send a Content-Type HTTP header, with the content type set to application/x-www-form-urlencoded. The client SHOULD include the character encoding of the content being sent (title, excerpt, and weblog name) in the charset attribute of the Content-Type header. For example, a ping request might look like: POST http://www.example.com/trackback/5 Content-Type: application/x-www-form-urlencoded; charset=utf-8 title=Foo+Bar&url=http://www.bar.com/&excerpt=My+Excerpt&blog_name=Foo The possible parameters in the request content are the following: - title
The title of the entry. Optional. - excerpt
An excerpt of the entry. Optional. - url
The permalink for the entry. Like any permalink, this should point as closely as possible to the actual entry on the HTML page, as it will be used when linking to the entry in question. Required. If a client neglects to send a url, the server MUST respond with an error message. - blog_name
The name of the weblog to which the entry was posted. Optional.
All of the fields provided MUST be in the character encoding specified in charset. There are no length restrictions on the above fields inherent in the TrackBack protocol, but server implementations are free to crop or ignore any of the above fields. In the event of a succesful ping, the server MUST return a response in the following format: <?xml version="1.0" encoding="utf-8"?> <response> <error>0</error> </response> In the event of an unsuccessful ping, the server MUST return an HTTP response in the following format: <?xml version="1.0" encoding="utf-8"?> <response> <error>1</error> <message>The error message</message> </response> <br /
13th December 2005
6:10pm: Another test
Cool. I like live journal! The Blogger API works well minus the crap title issue.
27th November 2005
1:03pm: Untitled
This is a test, testing out the flock blog editor.
16th February 2005
3:18pm: FUD from Cnet regarding Firefox
Just when I thought the old days of bad articles regard mentioning Firefox and Mozilla were over, (recent cnet articles have been positive), some Molly Wood on C|Net posts the most ridiculous article titled " IE 7: so much for Firefox", that I have read in years. Excerpt: "It was bad when Microsoft seemed to ignore Firefox, treating it like a harmless upstart not worthy of comment or attack. But now that the sleeping giant has awakened, I think the buzzing gnat of the browser wars is about to be squashed flat."
Pathetic!
Head over there and let Molly know she needs to stop writing Tech Articles she knows nothing about.
14th February 2005
11:57am: WebMailCompose 0.6 preview
WebMailCompose 0.6 is just around the corner, I have what I believe will be the release but would appreciate any feedback before pushing it out on all the current users. You can install it here. New features include: - MacOS bugs fixes
- Mailto links in mail compose twice fix
- Localization (english only so far)
- TBE conflicts fix
- New option to open in Tab/Current Tab/Window
- Gmail now works for all WMC upgrades
- Settings window is now resizable
- More minor bug fixes....
If you'd like to localize WMC in your language, please head here and translate the files found in the directory and mail them my way. Cheers -Jed
10th February 2005
10:37am: XULPlanet Mozilla Search Plugin
I've been spending more and more time on Firefox extension development these days as I'm currently working on some comercial extenions. (Yes, I know, I need to update my current extensions, and I promise I will, but the extra cash is my priority right now, then I'll have all the coffee I'll need :D) While doing so, I realized just how much I have come to rely on XULPlanet and it's excelent resources and it came to my amazement that there is currently no XULPlanet search plugin for mozilla (atleast that I could find). So I took the chance, and whipped up a XULPlanet Search Plugin  , which seems to work well in both Firefox and Mozilla. This should be a must for any extension dev who uses their references as much as I do. I've just submited it to Mycroft, so hopefully it will apear there soon. You can go here to install it . If anyone finds any errors, please let me know.
23rd January 2005
11:34pm: WebMailCompose 0.6Dev
I just updated WebMailCompose, I havn't released it yet, as this is only a dev version. I believe I have fixed 3 main issues for this release that will be 0.6 once a few features are added. The fixes so far are: - Compatibility with Gmail is fixed
- TBE conflict has been resolved
- Left-Click on MacOS should work now.
Please test it out and let me know if indeed these fixes are working for you. [ Install 0.5.8 Dev ] Cheers -Jed
10th December 2004
7:42pm: TheOpenCD 2.0
On Slashdot today they announced that TheOpenCD 2.0 has released. For those who don't know any better, TheOpenCD is a small collection of only the highest quality OSS for Windows (CDex, TB, Fx, Mozilla, gimp, gaim, etc.), easily available on a CD. The programs are carefully selected to ensure stability, ease of use and a clean install and un-install from your computer.What makes this a more noteworthy post is that this version (2.0) now contains a Launchable Menu with info on all the listings, of which, is based on Gecko (yay!). I have yet to download the cd, but it looks as if (under windows and with AutoRun enabled) a customized version of gecko (xulrunner perhaps?) launches a window that lists the content. Pretty cool stuff, you can check out some of the screenshots they have available if your not planning on download it.
Powered by LiveJournal.com
|
|