Posts Tagged WordPress

TweetPost

TweetPost is a multi-user plugin that automatically tweets bit.ly links to new posts.

Description

TweetPost is a multiuser plugin which allows wordpress publishers to automatically tweet their new posts to their Twitter account. Tweets consist of a message (“New post from @user”) including a reference to the author’s Twitter name, the title of the post, and a bit.ly shortened link to the post.

Currently, the Twitter Poster consists of the following features.

  • Specify a Twitter username and password to associate with the site
  • Specify a Bit.ly login and API key to associate with the site
  • Adds a “Twitter” property to user details, so users can manage their own Twitter name
  • Automatically submits the permalink to bit.ly and adds that to the tweet
  • Adds a reference to the author’s Twitter account in the tweet
  • Fits the tweet into Twitter’s 140-character limit.

License

This Twitter Poster plugin and Wordpress Plugin Framework are being developed under the GNU General Public License, version 2.

[GNU General Public License, version 2](http://www.gnu.org/licenses/elderly-licenses/gpl-2.0.html “GNU General Public License, version 2″)

Download

The current version can be downloaded here: tweetpost

Installation

  1. Unzip the archive file.
  2. Verify the name of the unzipped folder to be “tweetpost”
  3. Upload the “tweetpost” folder to the root of your Wordpress “plugins” folder.
  4. Activate the “tweetpost” plugin in your website’s plugin administration page.
  5. Navigate to the “Settings” ~ “TweetPost” administration page, to add account info.

Frequently Asked Questions

None.

Change Log

  • 0.1

    • Initial version

Tags: ,

Comments

Keyboard navigation plugin for WordPress

I prefer to use the keyboard for navigating content whenever possible, rather than the more awkward movement of a mouse… and my carpal tunnels thank me for that preference. I’ve seen keyboard navigation of posts implemented on FFFFOUND! and thought it was really nice. So I decided to make a WordPress plugin to allow others that functionality easily.

Scrolling through posts by keyboard may not be useful to everyone, but it makes a lot of sense for anyone with a photoblog. Users can quickly flip through your content without enlessly flicking a scroll wheel or clicking and dragging until they grab their wrists in pain.

Features:

  • Press the “J” key to see the next post, and the “K” key takes you to the previous post.

Planned features:

  • Add “next” and “previous” keys for page-by-page navigation.
  • Add an options page which allows the navigation keys to be customized.
  • Automatically load the “next” or “previous” page when you hit the end.
  • Detect the scrollable element in a site’s design. (Current version only scrolls the body.)

Download
The current version can be downloaded at WordPress.org.

Changelog

  • 0.5
    • Added scroll event listener to make the navigation sensitive to your current scroll position
  • 0.4
    • Continues to next/previous page when you navigate past the last (or first) post
  • 0.3
    • Javascript has moved to a separate file and is now added through via wp_enqueue_script
    • jQuery has been implemented for all DOM functions
    • ScrollTop is now at the top of the screen, as expected
    • Tested on Internet Explorer 7, Firefox 3.5, Safari 4, and Chrome 3
  • 0.2
    • Key navigation is no longer added on single posts
    • Keypress events are ignored inside of TEXTAREA and INPUT elements
  • 0.1
    • Initial version

Tags: ,

Comments

Politically Correct WordPress plugin

Please note that plugin was meant to be fun. Don’t expect to see lots of support for it.

Politically Correct swaps the occasional “politically incorrect” term with a more socially acceptable replacement. For instance, if your author types post-traumatic stress disorder (PTSD), your viewers see post-traumatic stress disorder. If your author types mentally challenged, your viewers see mentally challenged.

Example:

What output shows up if I say “homosexual people”? What about “African-American men”? And “caucasian men”? Does it know the difference between “African-American men” and “black licorice”? Can I say that “Asian people are good at math”?

What about expletives? What happens when I say “have sexual relations you”? “Eat defacate”? “Kiss my rear end”? Does this thing know the difference between “a sexual favor” and “several sexual favors”?

Is this going to give me “post-traumatic stress disorder (PTSD)”? What will the “vision-imparied”, the “hearing-impaired”, and “the disabled” think about this? What about “elderly people”?

If you have a serious web site, perhaps with a rogue author or two, you can use this plugin to help slow down some of the offense. Or, perhaps more likely, you have a personal web site and you think you could have some fun by replacing words with their PC counterparts.

Features:

  • Force filtering on individual posts by use of a custom tag
  • Admin can apply the filter to all users or only to specific users
  • Admin can apply the filter to all categories or only to specific categories

Planned features

  • Allow admins to define custom terms

You can download it here: politically-correct-v0.2.zip

Please note:
Creating this plugin was meant to be a joke, since I find the entire concept of “political correctness” to be not only mentally challenged and wasteful, but I also think it runs completely in opposition to the very nature of “the internet”. It started as a joke, and it continues mostly out of my own desire to learn more about WordPress and its APIs. I won’t be putting a tremendous amount of energy into this plugin, but I provide it both for the enjoyment of those with a sense of humor, and also on the off chance that someone might actually get some legitimate use out of it… such as a multi-user blog with one particularly “brash” author.

But to the losers who are writing in to say it’s a “stupid idea”, I simply say stop taking yourselves so seriously. Instead of whining about what you think is a stupid idea, why don’t you write to me and tell me what you think would be a better idea? Put up or shut up.

Tags: ,

Comments

Freedom of Information!

Freedom of Information, my second WordPress plugin, is just for fun. It filters the content of your post and “redacts” terminology that certain nefarious conspirators wouldn’t want getting out.

Example:

This is a government test of a new top secret plugin for ufo homeland security. I wonder what will happen to George Bush and Karl Rove when I type their names. Do you think John F. Kennedy was involved with the Secret Service’s plot to give H1N1 Swine Flu and Mad Cow Disease to the citizens? I wonder who knows about President Obama’s secret plan to bring socialism to the United States?

Current version is 0.1, and you can download it here: freedom-of-information

Tags: ,

Comments

Add Linked Images To Gallery

screenshot-1Add Linked Images To Gallery
Makes local copies of all the linked images in a post, adding them as gallery attachments on the post itself.

I have a photoblog, for my iPhone. I take a lot of pictures, and I want them to post quickly and easily. And I’m lazy. I want to send the photo to Flickr, and let Flickr update my blog. But I also want my main pages to reflect the latest additions. And what’s more, I want customized images on the front page, and I need to use the gallery to get those.

This WordPress plugin creates local copies of all external linked images in the SRC attribute of IMG tags. It extracts a list of IMG tags in the post, saves copies of those images locally as gallery attachments on the post, and then offers the option to replace the external link with a link to the local copy.

Features

  • Finds all external images linked in the SRC attribute of IMG tags and makes local copies of those images
  • Allows the SRC to be updated to point to those local copies
  • Can be applied to posts in all categories, or only those selected
  • Can be applied to all authors, or only selected authors
  • Administrator has the option to replace the external src with the url of the local copy. Another option allows the plugin to be applied to all external images, or only to those on Flickr.

This plugin is particularly useful for photobloggers, especially those who update using the mail2blog Flickr API. The plugin will saved the linked image file from Flickr locally.

Planned features

  • Add internationalization support
  • Integrate with Flickr API in order to allow always downloading the original image size regardless of which is linked
  • Additional options to allow running the plugin only for specific users or categories

Download

Download the current stable version: Add-Linked-Images-To-Gallery.

Changelog

  • 0.6

    • Suppresses safe_mode warnings from CURL
    • Adds compatibility with WordPress 2.9
  • 0.5
    • Fixes a bug that cause all img tags to be rewritten as the last matched image
  • 0.4
    • Option added to option panel allowing the plugin to run only on posts in specific categories
    • Option added to option panel allowing the plugin to run only on posts by specific authors
  • 0.3
    • Improved pattern matching for images
    • 404 errors not processed
    • Flickr “image-not-found” jpg not processed
    • Improved local file naming
    • Replace feature was replacing URL in entire text. Now only replaces in IMG src.
    • Added feedback when options are saved.
  • 0.2
    • Added options panel
    • User can apply plugin to all external images or choose only to apply to Flickr
    • User can choose to either mark images by custom tag, or to replace image source
    • Custom tag name is user-definable
    • Improved regular expression matching
  • 0.1
    • Initial version

Tags: ,

Comments

WordPress rocks

I am writing this from my iPhone. This proves that wordpress rocks and that the iPhone is awesome. :)

Tags: ,

Comments