Readme Parser

Wer Plugins für Wordpress programmiert, kommt an der “readme.txt” nicht vorbei. Diese wird auch durch das SVN verarbeitet und daraus eine ansprechende Seite für das Plugin erstellt.

Der “Readme Parser” macht das gleiche in der Lite-Version. So können die schon vorhandenen Informationen direkt auf der Plugin-Seite angezeigt werden.

Download bei Wordpress

Die Ausgabe sieht dann ungefähr so aus:

Readme Parser 0.1

Contributors: Tom Braider
Donate link: http://www.unicef.org
Tags: plugin, parse
Requires at least: 2.0
Tested up to: 2.7
Stable tag: 0.1

Shows any plugin readme.txt file on a page/post.
[readme-parser url="http://www.xyz.com/readme.txt"]

Description


If you make Wordpress plugins you know the readme.txt.
With this plugin you can show this readme.txt in every post or page.

Installation

  1. unzip plugin directory into the /wp-content/plugins/ directory
  2. activate the plugin through the Plugins menu in WordPress
  3. insert [readme-parser url="http://domain/path/readme.txt"] in your page

Frequently Asked Questions


Who can i change the style?


You can change the Stylesheet in you own theme style.css.
.readme-parser is the main div.
.readme-parser-screenshots is the special <ol> with the screenshots,

Screenshots


  1. 1. readme.txt on page

Arbitrary section


Filelist
  • readme-parser.php

Changelog

Version 0.1
  • first release
created by Readme Parser


Ein Beispiel für mögliche Einträge in der style.css des Temlates.

/* Readme Parser */
.readme-parser {
	border: 1px #ccc dotted;
	padding: 10px;
	background: #fff url(images/readme.gif) right top no-repeat;
}
.readme-parser ul li {
	margin-left: 0 !important;
}
.readme-parser code {
	background-color: #eee;
}
.readme-parser-screenshots {
	list-style: none;
}
.readme-parser-screenshots li {
	margin: 0 !important;
	padding-bottom: 10px !important;
	overflow: hidden;
}


RSS-Feed 2 Kommentare

alle Kommentare anzeigen / show all comments
alle Kommentare anzeigen / show all comments

Kommentar schreiben




Quicktags:

Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Tiny Corner