Jump to content

Extension:Luciwik: Difference between revisions

From mediawiki.org
Content deleted Content added
use autotranslated templates
+ archive
Tag: Replaced
 
Line 1: Line 1:
{{Archived extension|2038558}}
{{TNT|Extension|templatemode=
|name = Luciwik
|status = beta
|type1 = special
|type2 =
|hook1 = ParserFirstCallInit
|hook2 =
|username =
|author = Ordbrand
|description = Enables access to wiki pages as an OPDS catalog
|image =
|imagesize =
|version = 0.3
|update =
|mediawiki =
|php =
|license = APGL, GPL, LGPL
|download = [http://lucidor.org/luciwik/ Download]
|readme =
|changelog =
|parameters =
* $wgLuciwikMode
* $wgLuciwikAllLink
* $wgLuciwikThisLink
* $wgLuciwikEnableMetadata
* $wgLuciwikStylesheet
|tags =
|rights =
|example =
|compatibility =
}}

{{TNT|Extension|templatemode=
|name = LuciwikEPUB
|status = beta
|type1 = special
|type2 =
|hook1 = BaseTemplateToolbox
|hook2 = SkinTemplateToolboxEnd
|username =
|author = Ordbrand
|description = Enables downloading of wiki pages in EPUB format
|image =
|imagesize =
|version = 0.3
|update =
|mediawiki =
|php =
|license = APGL, GPL, LGPL
|download = see above
|readme =
|changelog =
|parameters =
* $wgLuciwikEPUBEnableDiscussion
* $wgLuciwikEPUBEnableMulti
* $wgLuciwikEPUBEnableSingle
* $wgLuciwikEPUBExtraItems
* $wgLuciwikEPUBLimit
* $wgLuciwikEPUBSplit
|tags =
|rights =
|example =
|compatibility =
}}

'''Luciwik''' is a system consisting of two extensions for MediaWiki that provides an OPDS catalog containing entries for automatically generated EPUB versions of the wiki pages. Single article to book or a set of articles to book is also possible. Discussion page as final chapter if wanted. Possible to include book description and structured metadata, like author etc.

Example 1: Add article to wanted book catalogue categories, and add meta-data to be included in the book catalogue and ebook.

<code>
<nowiki>[[Category:Free Norwegian classics]]</nowiki>

<nowiki>[[Category:19th Century literature]]</nowiki>

<nowiki>[[Category:Short-story]]</nowiki>

<luci>

<text>The short-story Karen by Alexander Kielland</text>

<summary>A tragic love story about the young Karen who is secretly pregnant with a treacherous lover.</summary>

<author>Alexander Kielland</author>

<issued>1882</issued>

<rights>Public domain</rights>

<image></image>

<thumbnail></thumbnail>

</luci>
</code>

By adding the above to a wiki article containing the text of the classic Norwegian short-story ''Karen'' by Alexander Kielland, the article will be added to the wiki categories ''Free Norwegian classics'', ''19th Century literature'' and ''Short-story'', but the meta-data will not be visible on the web page itself. The article will also appear as a book in the book catalogue in these categories too, with some of the meta-data visible in the book catalogue. By adding the address of the book catalogue to ebook readers like Lucifox or FBReader, users can search for titles or meta-data. When the user decides to download a book title, the meta-data will be included in the EPUB 3 ebook file and the ebook reader can display to the reader, which can later be used to sort or find locally stored books. See http://far.no/index.php?title=Karen for a live demonstration.

{{DEFAULTSORTKEY:LUCI}}

Latest revision as of 07:53, 31 March 2020