|
@@ -306,7 +306,7 @@ REGEDIT4
|
|
|
the headline "=Notes="
|
|
|
- '=%c=' :: will be replaced by an Org-link pointing to the location of the
|
|
|
page you have been visiting when clicking on the link. The page
|
|
|
- title will be the links description.
|
|
|
+ title will be the link's description.
|
|
|
- '=%i=' :: will be replaced by the selected text in your browser window if
|
|
|
any.
|
|
|
|
|
@@ -325,7 +325,7 @@ REGEDIT4
|
|
|
# <<org-protocol-remember>>
|
|
|
*** Org-protocol-remember
|
|
|
|
|
|
- The =org-protocol-remember= handler is now obsolete. How ever, the handler is
|
|
|
+ The =org-protocol-remember= handler is now obsolete. However, the handler is
|
|
|
still available for backward compatibility. To use this handler, closely
|
|
|
follow the setup for the current =org-protocol-capture= handler, and simply
|
|
|
replace each occurrence of /capture/ with /remember/.
|
|
@@ -345,7 +345,7 @@ REGEDIT4
|
|
|
"=org-protocol://remember://=" URLs.
|
|
|
- '=%c=' :: will be replaced by an Org-link pointing to the location of the
|
|
|
page you have been visiting when clicking on the link. The page
|
|
|
- title will be the links description.
|
|
|
+ title will be the link's description.
|
|
|
- '=%i=' :: will be replaced by the selected text in your browser window if
|
|
|
any.
|
|
|
|
|
@@ -397,8 +397,8 @@ REGEDIT4
|
|
|
and find a typo or have an idea how to enhance the documentation, simply click
|
|
|
the bookmark and start editing.
|
|
|
|
|
|
- There are to functions to help you filling =org-protocol-project-alist= with
|
|
|
- valid contents. First of which is =org-protocol-create= that guides you through
|
|
|
+ There are two functions to help you fill =org-protocol-project-alist= with
|
|
|
+ valid contents. One possibility is =org-protocol-create= that guides you through
|
|
|
the process. If you're editing an Org-mode file that is part of a publishing
|
|
|
project in =org-publish-project-alist=, try
|
|
|
|
|
@@ -414,27 +414,27 @@ REGEDIT4
|
|
|
local sources reside in =/home/user/example/=. While most of the URLs map
|
|
|
directly to local file names by stripping URL parameters from the end and
|
|
|
replacing the =:base-url= with =:working-diretory= and =:online-suffix= with
|
|
|
- =working-suffix=, this might not work for rewritten URLs. It's common
|
|
|
- practice, to serve all products in such a store through one file and rewrite
|
|
|
- URLs, that do not match an existing file on the server.
|
|
|
+ =:working-suffix=, this might not work for rewritten URLs. It's common
|
|
|
+ practice to serve all products in such a store through one file and rewrite
|
|
|
+ URLs that do not match an existing file on the server.
|
|
|
|
|
|
That way, a request to =http://example.com/print/posters-A4.html= might be
|
|
|
rewritten on the server to something like
|
|
|
=http://example.com/shop/products.php/posters-A4.html.php=, where
|
|
|
- =/posters-A4-digital.html.php= is the so called path info. Note, that the
|
|
|
+ =/posters-A4-digital.html.php= is the so called path info. Note that the
|
|
|
browser will not notice the rewrite.
|
|
|
|
|
|
If you now click your =org-protocol://open-source://= bookmark, the handler
|
|
|
will probably not find a file named
|
|
|
=/home/user/example/print/posters-A4.html.php= and fail.
|
|
|
|
|
|
- Or, even more simple, assume your browsing to =http://example.com/=. A file
|
|
|
+ Or, even more simple, assume you're browsing =http://example.com/=. A file
|
|
|
named =/home/user/example/.php= is not likely to exist.
|
|
|
|
|
|
- Since Org-mode commit =69b46e10aab3b2374ecbc1a963ba56e77102a9a4= from 15nth
|
|
|
+ Since Org-mode commit =69b46e10aab3b2374ecbc1a963ba56e77102a9a4= from 15th
|
|
|
Nov. 2009, such an entry in =org-protocol-project-alist= may hold an
|
|
|
additional property =:rewrites=. This property is a list of cons cells, each
|
|
|
- of which maps a regular expression to a path, relative to the
|
|
|
+ of which maps a regular expression to a path relative to the
|
|
|
=:working-directory=.
|
|
|
|
|
|
Now map the URL to the path =/home/user/example/products.php= by adding the
|
|
@@ -456,7 +456,7 @@ REGEDIT4
|
|
|
a regular expression, it maps =http://example.com/=, =https://example.com=,
|
|
|
=http://www.example.com/= and similar to =/home/user/example/index.php=.
|
|
|
|
|
|
- The =:rewrites= are searched as a last resort if, and only if no existing file
|
|
|
+ The =:rewrites= are searched as a last resort if and only if no existing file
|
|
|
name is matched.
|
|
|
|
|
|
* Other browsers
|