Not logged in. · Lost password · Register
Forum: General Help and Support Plugins Plugin Wishlist RSS
include plugin: development in direction to use it as a kind database tool
Avatar
Samana Johann #1
Member since Jun 2018 · 155 posts · Location: Aural/Cambodia
Group memberships: Members
Show profile · Link to this post
Subject: include plugin: development in direction to use it as a kind database tool
Valued dokuwiki-team,
generous motivated developer and user,

It should not be seen as a personal wish or request, but just as: It would be good... thinking so.

Since include plugin is actually a handy way to use it as a kind of database tool, reducing maintaining to single pages like tables, it would be good if it's functions or possibilitiers of flags would be increased.

  • First of all the possibility, that if no header is matched nothing would be displayed.
  • Ways to match particular parts under a header, made kind of anchors using wrapplugin id's <span #{id}>.
  • More ways of display layout, maybe by using a user form which can be modified.
  • Possibility to Insert the match as part of a text and not as a division.

In that direction in could become a handly "database" tool without the use of a database, and single source pages become it's tables.

(Currently "experimenting" using it as a tool for a dictionary build on many particular single dictionaries)
This post was edited on 2018-09-05, 10:11 by Samana Johann.
Avatar
Michaelsy #2
Member since Jun 2015 · 745 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Esteemed Samana Johann,

maybe the Snippets plugin, the Scrapbook plugin or the Snippeter plugin might be interesting for you:
https://www.dokuwiki.org/plugin:snippets
https://www.dokuwiki.org/plugin:scrapbook
https://www.dokuwiki.org/plugin:snippeter

Feedback welcome
    - Michael Sy.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
This post was edited on 2018-09-25, 14:43 by Michaelsy.
Avatar
Samana Johann #3
Member since Jun 2018 · 155 posts · Location: Aural/Cambodia
Group memberships: Members
Show profile · Link to this post
Sadhu

Those are interesting and surely helpful plugins, yet not really in regard of the suggestion of this topic, Mr. Michael.

It's more about quoting (imbedding) passages of other articles in a more advanced way, not restricted to only headers (using certain anchors or amount of word, paragraphs...) and to display the targed content in different ways, inline for example.

Like as if quoting Mr. Michaels post here, but it would not be static. As soon as he would edit it, the quote here would came from it's source.
Avatar
Michaelsy #4
Member since Jun 2015 · 745 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Mmmmh, a part of the description of the Snippets plugin:

Updatable Snippets

In the plugin's original form, snippets remained in the page as originally inserted even if the snippet itself was later changed. This upgrade adds a tracking layer to the plugin so that if a snippet is embedded in multiple pages and that snippet is changed, the revised snippet can be automatically updated in any of the pages in which it appears and is marked to be updated.

But that may only be one point among many. Surely I do not understand all your requirements and with the plugins I pointed out, I have no own experience.

See you later in another thread...
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
Samana Johann #5
Member since Jun 2018 · 155 posts · Location: Aural/Cambodia
Group memberships: Members
Show profile · Link to this post
Care is more than appreciated, since sometime one might not see great ideas.

My person saw this, Mr. Michael. Yet the source is a Snippets-storage and not a page, section or paragraph of what ever page.

One might quote a part of another article, which often happens on wikis. Now if the source is changed, and that is the nature of wikis, the quote would remain in it's old form. Normally a huge maintainance work.

Snippets would probably perfecty replace the use of include for template parts, another area of use.
Avatar
turnermm (Moderator) #6
Member since Oct 2009 · 4544 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
Now if the source is changed, and that is the nature of wikis, the quote would remain in it's old form. Normally a huge maintainance work.
Not so.  See https://www.dokuwiki.org/plugin:snippets.  Read the documentation, which describes, how these snippets  can be made 'updatable', that is when a snippet page is changed, it can be up updated in all pages which contain that snippet.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Samana Johann #7
Member since Jun 2018 · 155 posts · Location: Aural/Cambodia
Group memberships: Members
Show profile · Link to this post
Mr. Myron,

It has been seen. The part quoted by Mr. Turner has just left the context of it's purpose. Certainly the plugin serves maintaining but limited to special pagepages

My person will certainly look into this great gift for dictionary issues. Maintaining certain pages as snippet-pages. My person does not think that normal pages, say all, can be maintained as snippet-pages so that it might be easy to quote parts of the on other pages.

Sadhu for the care and appreciation for the sacrifices of time and wholesome helping thoughts.

Thats a practical sample to use the content of various other sources: http://accesstoinsight.eu/en/dictionary/dana

(Yet limited to sections and limited to display as division)

In books there are quotes of translated original texts:
http://accesstoinsight.eu/en/lib/study/merit

(sample, html not prepared for now: original better readable http://zugangzureinsicht.org/html/lib/study/merits_en.html)

Now it happens that the source of the quotes, translations of original-texts,  are revised which has impact on hundred of books an pages. Exactly for such include would be perfect if serving the possibilities mentioned, (possible inline-display and using other marks like span-anchors to fetch text-parts from other pages).

A possible additional advantage is that there is not much database and other processes involved. The advantage, if having understood the ways of snippet right, it would not just leave a code behind on the page, but actually text (which on the other side would store the same texts often within a wiki.
This post was edited 2 times, last on 2018-09-26, 14:09 by Samana Johann.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-03-22, 15:49:55 (UTC +01:00)