Pastoid

The page you are looking at now is at this URL: http://pastoid.com/b1q

This paste was last updated on April 24, 2010 at 5:50 pm.

Pasted Coderaw

<?php
/**
 * 
**/
 
class HashTags extends plugin {
 
	public function action_form_publish( $form, $post)
	{
		if ( $form->content_type->value == Post::type( 'entry' ) ) {
			$form->append('text', 'hashtags', 'null:null', _t('Text to add to tweets:'));
			$form->url->tabindex = 2;
			$form->url->value = $post->info->url;
			$form->url->move_after($form->tags);
		}
	}
 
}
?>

Toggle wordwrap

xmlraw

<?xml version="1.0" encoding="utf-8" ?>
<pluggable type="plugin">
  <name>Hashtags</name>
  <license url="http://www.apache.org/licenses/LICENSE-2.0.html">Apache Software License 2.0</license>
  <url>http://habariproject.org/</url>
  <author url="http://habariproject.org/">The Habari Community</author>
  <author url="http://www.morydd.net/">Sean T. Evans</author>
  <version>0.1</version>
  <description>Allows users to add hashtags (or other text) to the status sent to twitter upon publish of an article.</description>
  <copyright>2010</copyright>
</pluggable>

Toggle wordwrap

Referring DomainHits
Unknown Referer 182
pastoid.com 62
drunkenmonkey.org 2
Is this paste spam?
<Hide