Just wondering what kind of search queries there could be finally.
People could select
Here plugins with GPL, Public Domain, no stated licence, Linkware would appear
Here plugins free for private use, payment for other use come
Here all plugins would be listed.
It seems there are some elements on which a sensible selection could be based and others that will only give information once selected. Elements useful for selection could be?
Keywords – cost – compatibility – ... what else?
cmb wrote:However, it might be nice if a user would be able to select a certain license (an enumeration would make that easy), or a maximum price
I guess there are too many different licences around. Besides at least one plugin author uses the appelation "freeware" and attaches many conditions to the use of his plugins, which I wouldn't call freeware. So what about an element licence (where conditions can be stated) with the attribute cost? E.g. cost="", cost="0 - 5 €", cost="5 €" where "-" would trigger the category free/restricted.
Compatibility seems to be a little tricky. I guess all my plugins work on cmsimple 4.x but haven'd tested it. Maybe again we could have an element "compatibility" with text (e.g. "tested on XH1.6.2 on Apache server php 5.2") plus an attribute "incompatible", e.g. incompatible="<php5.2,<XH1.6,4" (i.e. less that php 5.2, less that XH 1.6, all of CMSimple 4.x)
So for the element "description" it seems 2 attributes are coming? language and keywords?
Description in HTML is nice, but what if authors reference images in it? huge images? and supersized text? How much description is necessary to convince a person to go to see a demo? not much I guess, so full HTML may not be necessary after all. So either a limited HTML, or some kind of Markdown **bold** //italic// or allow both.
What do you mean by author maintainer/active/inactive? If an author is inactive, he will not produce a plugins.xml. But Allplugins_XH could already come with a list of such inactive autor's plugins. What if the main work has not been done by the maintainer but by someone else? What about former authors? We could again have the element author with an attribute maintainer.
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<author maintainer="cmb">Christoph M. Becker, based on work by Charlemagne</author>
<compatibility incompatible="<XH1.6,4">CMSimple_XH ≥ 1.6</compatibility>
<description lang="en" keywords="utility,pages,administration">
<p><b>Pagemanager_XH</b> simplifies the administration of
pages of a CMSimple_XH installation.</p><p>This plugin is comparable to the
<i>Menumanager</i> plugin with regard to functionality, but by using a treeview
it allows for better handling of websites with many pages. With
Pagemanager_XH it is also <b>possible to rearrange whole
<description lang="de" keywords="Seitenverwaltung,Seitenerstellung,Seitenhierarchie,
neue Seiten">**Pagemanager_XH** vereinfacht die Verwaltung von
Seiten in einer CMSimple_XH-Installation.
Dieses Plugin ist vom Funktionsumfang vergleichbar mit dem
//Menumanager-Plugin,// ist aber durch
die Baumdarstellung auch bei umfangreichen Homepages übersichtlicher.
Darüber hinaus können beim Pagemanager_XH **ganze Menüstrukturen auf
einmal verschoben werden.**</description>
The HTML somehow I don't really like, I prefer the markup like in quoteoftheday.