]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
authorJoey Hess <joey@kitenet.net>
Mon, 24 Jan 2011 20:32:29 +0000 (16:32 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 24 Jan 2011 20:32:29 +0000 (16:32 -0400)
doc/forum/How_to_specify_repository_is_on_a_remote_host__63__.mdwn [new file with mode: 0644]
doc/forum/Possible_to_use_meta_variables_in_templates__63__.mdwn [new file with mode: 0644]
doc/forum/Possible_to_use_meta_variables_in_templates__63__/comment_1_556078a24041289d8f0b7ee756664690._comment [new file with mode: 0644]
doc/forum/Possible_to_use_meta_variables_in_templates__63__/comment_2_e7e954218d39bc310015b95aa1a5212c._comment [new file with mode: 0644]
doc/ikiwikiusers.mdwn
doc/users/adamshand.mdwn

diff --git a/doc/forum/How_to_specify_repository_is_on_a_remote_host__63__.mdwn b/doc/forum/How_to_specify_repository_is_on_a_remote_host__63__.mdwn
new file mode 100644 (file)
index 0000000..ad8f272
--- /dev/null
@@ -0,0 +1,3 @@
+I'm new to ikiwiki and I'm trying to install it and set it up.  I've read the documentation but I still don't understand how access to the repository works.  We want ikiwiki to run on one machine but we want the repository to be on a separate machine running svn.  How can I configure ikiwiki to access the repository on the remote machine?  And how is authentication on the remote host handled in ikiwiki?  Does there have to be a one-to-one correspondence between account names (and passwords) on the ikiwiki machine and the accounts on the svn machine?  Thanks,
+
+Eric
diff --git a/doc/forum/Possible_to_use_meta_variables_in_templates__63__.mdwn b/doc/forum/Possible_to_use_meta_variables_in_templates__63__.mdwn
new file mode 100644 (file)
index 0000000..3c214d4
--- /dev/null
@@ -0,0 +1,11 @@
+I'm trying to create a [[!iki plugins/template desc=template]] which references variables from the [[!iki plugins/meta desc=meta]] plugin, but either it's not supported or I'm doing something wrong.  This is what my template looks like:
+
+    <div class="attributionbox">
+    <p><b>Written by:</b> <a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a></p>
+    <p><TMPL_VAR text></b></p>
+    </div>
+
+The template is working because I get the content, but all the places where I reference meta variables are blank.  Is this supposed to work or am I trying to do something unsupported?  Many thanks for any pointers.
+
+Cheers,  
+[[AdamShand]]
diff --git a/doc/forum/Possible_to_use_meta_variables_in_templates__63__/comment_1_556078a24041289d8f0b7ee756664690._comment b/doc/forum/Possible_to_use_meta_variables_in_templates__63__/comment_1_556078a24041289d8f0b7ee756664690._comment
new file mode 100644 (file)
index 0000000..3aeeec7
--- /dev/null
@@ -0,0 +1,20 @@
+[[!comment format=mdwn
+ username="http://smcv.pseudorandom.co.uk/"
+ nickname="smcv"
+ subject="not supported at the moment"
+ date="2011-01-24T15:17:59Z"
+ content="""
+This isn't supported, because [[ikiwiki/directive/template]] templates
+don't run `pagetemplate` hooks (which is how information gets from
+[[ikiwiki/directive/meta]] into, for instance, `page.tmpl`). The only
+inputs to the `HTML::Template` are the parameters passed to the
+directive, plus the `raw_`-prefixed versions of those, plus the extra
+parameters passed to every `preprocess` hook (currently `page`, `destpage`
+and `preview`).
+
+I think having `pagetemplate` hooks run for this sort of template
+by default would be rather astonishing, but perhaps some sort of
+opt-in while defining the template would be reasonable? One problem
+with that is that the templates used by [[ikiwiki/directive/template]]
+are just wiki pages, and don't really have any special syntax support.
+"""]]
diff --git a/doc/forum/Possible_to_use_meta_variables_in_templates__63__/comment_2_e7e954218d39bc310015b95aa1a5212c._comment b/doc/forum/Possible_to_use_meta_variables_in_templates__63__/comment_2_e7e954218d39bc310015b95aa1a5212c._comment
new file mode 100644 (file)
index 0000000..b531881
--- /dev/null
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="http://adam.shand.net/"
+ nickname="Adam"
+ subject="Bummer."
+ date="2011-01-24T15:26:33Z"
+ content="""
+Thanks for the quick response!  I'm trying to figure out some way that I can reference meta variables inside of a page.  Specifically I'm trying to create an attribution box which lists all of the information I have about who wrote the page, where the original can be found etc.  I can just pass the values to the template, but it would be really nice not have to put this information in for the meta plugin and my attribution box!
+
+The changes you suggest sound wonderful but are beyond my abilities right row.  Any ideas how I might accomplish this in the mean time?
+"""]]
index 29c0ba9e2fff370264a369b9a1ae829c7023b91d..e2aa52601baa5d547fa3e150a6b8a08d2cbc4e3b 100644 (file)
@@ -62,6 +62,7 @@ Projects & Organizations
 * [PDFpirate Community](http://community.pdfpirate.org/)
 * [Banu](https://banu.com/) uses Ikiwiki for its website, to convert static Markdown pages into PHP scripts which are served along with non-Ikiwiki PHP generated contents. The static contents benefit from use of Ikiwiki's plugins. Ikiwiki is purely used as a CMS and no wiki or web-based editing is allowed. Ikiwiki is run offline, and the resulting scripts are uploaded using rsync to the website.
 * [Software in the Public Interest](http://spi-inc.org/)
+* [NXT Improved Firmware](http://nxt-firmware.ni.fr.eu.org/)
 
 Personal sites and blogs
 ========================
index 429f4f6682743a5069ac0d16333fc32703490837..d90070eca762d6b683f29ece9c0f37f1c2123068 100644 (file)
@@ -3,3 +3,13 @@
 New IkiWiki user (well not really "new" anymore), long time wiki user. :-)
 
 <http://adam.shand.net/iki/>
+
+<!-- does't work, to track down why later
+
+Pages I participate in: 
+[
+[
+!
+inline pages="internal(recentchanges/change_*) and !author(http://adam.shand.net/)" feedonly=no atom=no]]
+
+-->