WordPress PadFile Plugin

Last days I wrote my first! WordPress Plugin. It’s a plugin that you can use to show Pad File content in a more nicer way than posting the Raw XML data …

All in all it’s very easy to use. Extract the ZIP File into your “plugins” directory of wordpress.
The directory structure should look like: \wp-content\plugins\padfile

Now activate the plugin and you’ll have have two different possibilities to show your Pad Files in your wordpress blog.

  1. You can show it in your blog entry by typing [padfile:URL] within your posting. E.g. [padfile:http://www.timepunch.de/download/TimePunch.xml]

  2. Or you can add a sidebar widget. When opening the sidebar widget with “Edit” Button in WordPress, you can select three different Pad Xml File URLs that will be shown in your sidebar.

Furthermore the complete plugin is template based. That means, you can change the content and the design in an easy manner.

For changing the design of the [padfile] tag, you’ll have to modify the “download.html” template.

For changing the design of the sidebar widget, you can modify the files “sidebar_before.html“, “sidebar_content.html” and “sidebar_after.html“.

I hope that you enjoy the plugin.
Cheers

- Gerhard

Download link: http://wordpress.ad-factum.de/padfile.zip

Posted in PHP. 9 Comments »

9 Responses to “WordPress PadFile Plugin”

  1. Freeware Shareware Says:

    Gerhard, you have no idea how long I have searched for something like this so first of all, thank you, thank you, thank you and thank you!!!. Secondly, would you anticipate any way of being able to automatically populate the title of the post with the title of the PAD. It’s not a killer or anything, would just be a fantastic addition to this already great plugin!!
    Thanks again
    Mark

  2. Chuy Ban Says:

    It is a great plugin. I think it is very useful. I have one question and would like you to help. It would add useful and flexible feature.

    download.html is only one template to show pad file.
    I want to know how can we add one more template to display just short summary of pad file.

    Example, download.html show full summary and summary.html to show short summary of pad file.

    How can we do that in Code? As you are the author of this plugin and expert in coding. I think it very easy for you.

    Thank you very much for your plugin.
    Chuy Ban

  3. Gerhard Says:

    The source is open for extensions. Don’t hesitate to change it for your needs.
    Cheers
    - Gerhard

  4. pcyip Says:

    great plugin!

  5. Mike Says:

    Download link doesn’t work!

  6. Gerhard Says:

    Thx for the hint. The download link is working again.

  7. WordPress PadFile Plugin « All about nothing | Squico Says:

    [...] In: WordPress plugins 21 Jul 2009 Go to Source [...]

  8. galnet99 Says:

    Great Job!!

    is it possible to setup an addpad page.. with input text field..

    where i can just add the pad url and it will automatically build a post based on that file?

    Thx!!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 77 other followers