Showing posts with label Greasemonkey. Show all posts
Showing posts with label Greasemonkey. Show all posts

Tuesday, March 14, 2006

BlogDrive Plain Text Editor (self made)

*Updates* Blogdrive fixed the Plain text editor.

Since Blogdrive's PTE isn't going to be fixed anytime soon, I've decided to write up my own fix for it since I can't use the greasemonkey fix that was created by Xr.

Here's the link and features surrounding it:

1) URL is similar to that of blogdrive

http://design.blogdrive.com/manage/blog_entries?big=123456&pid=
http://www.blogdrive.com/manage/blog_entries?bid=123456&pid=

2) includes Extended Entry and Keywords.

3) behind the scenes features: dates automatically changes to current time

4) behind the scenes features: BID/PID auto updates from the URL.

5) behind the scenes features: inserting images in old fashion.

6) Not able to call up your previous entries contents. It does not enable editing of previous entries however it allows you to REPLACE it.

7) I tried to include Amazon affiliate thing to this, but I realised there's a server indifference here that disallow variables to be passed through. So I have no choice but to disable it.

So, there you go.

Sunday, February 12, 2006

Greasemonkey PTE Fixer

Instead of moaning of the problem over and over again, Xr decided to write up a GreaseMonkey fixer for the BlogDrive PTE Posting Dates problem.

Greasemonkey is a Firefox extension which lets you to add bits of DHTML ("user scripts") to any web page to change its behavior.

If you uses Firefox and have the Greasemonkey installed on your computer, You may use this tool. Download the script here.

Below are the details, note the explanation: Blogdrives gives the time based on configured timezone. However, when creating a new entry, "Current" doesn't mean anything. In those cases, the hours are set to local time. Think about it if the machine from which you edit your blog is not set to the same timezone as your blog.

// Blogdrive PTE Fixer v 0.2.2
// Copyright (c) 2006, Xr
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// This is a Greasemonkey script. if you don't have GM, go to
// http://greasemonkey.mozdev.org/
// GM is an extension for Firefox (http://www.mozilla.com/firefox/)
//
// Known bugs :
// - Blogdrives gives the time based on configured timezone. However, when
// creating a new entry, "Current" doesn't mean anything. In those cases,
// the hours are set to local time. Think about it if the machine from which
// you edit your blog is not set to the same timezone as your blog.
//
// Version history :
// 0.2.2 : Fixed date systm where "09" would be interpreted as octal
// Fixed date showing GMT instead of local time.
// 0.2.1 : Title is not lost anymore
// 0.2 : Moved to a better way of getting input field, fields are now selected
// depending on posted date / current date
// 0.1 : Initial script
//
//
// ==UserScript==
// @name Blogdrive PTE Fixer
// @description Allows Plain Text Editor to correctly edit dates
// @namespace http://xr.i-jeuxvideo.com/?cat_id=progs
// @include http://www.blogdrive.com/manage/blog_entries*
// ==/UserScript==
// Get the invalid <input> field.

I have not tested it, but looking through the codes it appears to be doing it right since it's well organised and written. Try it out if you uses Greasemonkey.

References: Plain Text Editor (PTE) bugs and issues, Dates of Edited Posts, Can't Change My 'Publish Date', BlogDrive PTE Fixer, Greasemonkey,
Tags: BlogDrive, , , Firefox, Greasemonkey,