plugin:dokubookmark
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:dokubookmark [2009-12-13 18:12] – 79.131.15.223 | plugin:dokubookmark [2020-02-20 13:47] (current) – Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== dokubookmark | + | ====== dokubookmark |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : robin@gareus.org | email : robin@gareus.org | ||
type : action helper | type : action helper | ||
- | lastupdate : 2008-09-30 | + | lastupdate : 2011-12-21 |
- | compatible : 2005-07-01 - 2008-05-05 | + | compatible : >= 2008-05-05 |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : bookmark blog create | + | tags : bookmark blog create |
+ | |||
+ | downloadurl: | ||
+ | bugtracker : | ||
+ | sourcerepo : http:// | ||
+ | donationurl: | ||
+ | |||
+ | screenshot_img: | ||
---- | ---- | ||
- | ^ Download | [[http://mir.dnsalias.com/ | + | ===== News ===== |
+ | |||
+ | * **0.6.0** | ||
+ | * Use standard editor (instead previously built-in text entry); increases compatibility and interoperability. | ||
+ | * Removed '' | ||
+ | * Base support for [[plugin: | ||
===== Usage ===== | ===== Usage ===== | ||
Line 26: | Line 38: | ||
- preview, fill in CAPTCHA (or log-in) and save | - preview, fill in CAPTCHA (or log-in) and save | ||
- | This plugin was inspired by the [[tips]] section' | + | This plugin was inspired by the [[:tips]] section' |
- | + | ||
- | // | + | |
===== Setup ===== | ===== Setup ===== | ||
+ | |||
Just install the plugin, the default settings will do, but you may want to tweak them to your preferences. | Just install the plugin, the default settings will do, but you may want to tweak them to your preferences. | ||
==== Config ==== | ==== Config ==== | ||
- | They' | + | |
+ | They' | ||
^ config-key | ^ config-key | ||
- | | default namespace | '' | + | | default namespace | '' |
- | | Namespace Presets | '' | + | | Namespace Presets | '' |
- | | Date-time format | + | | Date-time format |
- | | tagbox | + | | tagbox |
- | | tabboxtable | + | | tabboxtable |
- | | wikitemplate | + | | wikitemplate |
Placeholders (replaced in wiki-page-name and wiki-page-template: | Placeholders (replaced in wiki-page-name and wiki-page-template: | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | If a _template.txt exists in the namespace of the page, the default DokuWiki placeholders ('' | + | If a _template.txt exists in the namespace of the page, the default DokuWiki placeholders ('' |
- | //Notes//: | + | > //Notes:// Tags are optional (requires the DokuWiki [[plugin:tag]] plugin). Presets come in handy to quickly change the namespace or apply templates. |
- | Tags are optional (requires the DokuWiki [[tag]] plugin). | + | |
- | Presets come in handy to quickly change the namespace or apply templates. | + | |
Direct-saving can be enabled in the configuration, | Direct-saving can be enabled in the configuration, | ||
- | |||
==== Bookmarklet ==== | ==== Bookmarklet ==== | ||
Line 66: | Line 75: | ||
Add a new bookmark in your browser with the // | Add a new bookmark in your browser with the // | ||
- | | + | <code javascript> |
+ | javascript: | ||
+ | </ | ||
+ | To prevent ' | ||
+ | <code javascript> | ||
+ | javascript: | ||
+ | </ | ||
- | ====== Discussion | + | |
+ | ===== Discussion ===== | ||
Any help to improve this plugin is welcome. Feel free to discuss here or drop us a line, contact info comes with the source. | Any help to improve this plugin is welcome. Feel free to discuss here or drop us a line, contact info comes with the source. | ||
Line 90: | Line 106: | ||
what do you need? "a global changelog without the bookmarks" | what do you need? "a global changelog without the bookmarks" | ||
- | |||
-- | -- | ||
Line 116: | Line 131: | ||
-- //psofa// email:psofa <dot> <part before dot again> at gmail | -- //psofa// email:psofa <dot> <part before dot again> at gmail | ||
+ | Hi, | ||
+ | I'm not a coder so this might seems overkill, but I wrapped the bookmarklet in a firefox custom button with a short-cut key. Following instructions on https:// | ||
+ | <code javascript> | ||
+ | CustomButton = { | ||
+ | |||
+ | 1: function () { | ||
+ | |||
+ | myDoc = window._content.document | ||
+ | mySel = myDoc.selection? | ||
+ | myContent = encodeURIComponent(mySel); | ||
+ | myloc = encodeURIComponent(myDoc.location.href); | ||
+ | mytitle=encodeURIComponent(myDoc.title); | ||
+ | |||
+ | myparam=' | ||
+ | |||
+ | myUri = " | ||
+ | |||
+ | window.open(myUri,' | ||
+ | }, | ||
+ | |||
+ | } | ||
+ | </ | ||
+ | |||
+ | Is there a possibility to add the bookmarked page title in the page name (after the date (@D@))? I tried with @T@ but it includes the url and creates namespaces. | ||
+ | |||
+ | |||
+ | -- bandit8876 at gmail | ||
+ | |||
+ | This is great, but I have a hard time to get it working with my own templates; it does load the _template.txt from the default namespace, but switching presets does not load the _template.txt from that particular namespace. Any pointers are welcome. | ||
+ | |||
+ | -- Hans Peter Willems |
plugin/dokubookmark.1260724349.txt.gz · Last modified: 2009-12-13 18:12 by 79.131.15.223