]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge branch 'master' of ssh://git.ikiwiki.info
authorJoey Hess <joey@kitenet.net>
Wed, 2 Oct 2013 17:26:42 +0000 (13:26 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 2 Oct 2013 17:26:42 +0000 (13:26 -0400)
doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn
doc/forum/Template_variables.mdwn [new file with mode: 0644]
doc/forum/Template_variables/comment_1_6a2ab9450dbfb8c4ef78e7af2a1b51eb._comment [new file with mode: 0644]
doc/git.mdwn
doc/plugins/osm/discussion.mdwn
doc/sandbox.mdwn
doc/users/cbaines.mdwn [new file with mode: 0644]

index 39113c1b415a5b5a88fb82ebdaf4291ebeaa67e6..ce8339d184a868fc33596b0d4d885c407c4e8e1d 100644 (file)
@@ -1,5 +1,6 @@
+[[!template  id=gitbranch branch=cbaines/osm-layers-patch author="[[cbaines]]"]]
+
 Using the osm plugin with a simple \[[!osm]] directive does not seem to work, a "TypeError: mapProjection is null" is given. I believe this is because the client side Javascript uses the options.layers, which is always Null. 
 
 [[!tag patch]]
 I have produced a patch for this issue, but beware, while it appears to fix the problem for me, I have little understanding of perl and the existing code base.
-<https://github.com/cbaines/ikiwiki/commit/4294b4c24a56c7103c48250dd9d833b42838a472>
diff --git a/doc/forum/Template_variables.mdwn b/doc/forum/Template_variables.mdwn
new file mode 100644 (file)
index 0000000..f0a8fe8
--- /dev/null
@@ -0,0 +1,20 @@
+Hi,
+
+I am very confused with the template variables. I cannot find any documentation of which ones are available, where are they set, etc.
+
+I see that in the default templates, there are things like this (rssitem.tmpl): 
+
+    <TMPL_IF AUTHOR>
+        <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title>
+        <dcterms:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dcterms:creator>
+    <TMPL_ELSE>
+        <title><TMPL_VAR TITLE></title>
+    </TMPL_IF>
+
+But I don't get this in my RSS, and I don't know how to add those variables, except for mentions of some plugins that are not yet merged.
+
+I also see that the 'author' data is one of the fields that can be set with the meta directive, but I understand that meta is processed after the templates, so it cannot be the source; right?
+
+Any help appreciated!
+
+PS: what I am tring to do now is to add a proper author field to my feeds, but I also want to understand how to use the templating system.
diff --git a/doc/forum/Template_variables/comment_1_6a2ab9450dbfb8c4ef78e7af2a1b51eb._comment b/doc/forum/Template_variables/comment_1_6a2ab9450dbfb8c4ef78e7af2a1b51eb._comment
new file mode 100644 (file)
index 0000000..5f5ce1f
--- /dev/null
@@ -0,0 +1,11 @@
+[[!comment format=mdwn
+ username="http://tincho.org/"
+ nickname="tincho"
+ subject="Update"
+ date="2013-10-02T05:40:59Z"
+ content="""
+well, it seems that if I do set up the author and authorurl meta variables in the index.mdwn, I get the author in the ATOM feed file. I don't know why, if it is because the feed creation is invoked from that page or if it is automagically taken from the main page.
+
+At the same time, the rss feed does not get the author, even if the default template should have included it for each item in the feed.
+
+"""]]
index 1532b3c01e7da86b84e85c07d7919d9ba85259c4..f433f1bcfbf9ee9bc27db3a211333e57a37df4ff 100644 (file)
@@ -78,6 +78,7 @@ think about merging them. This is recommended. :-)
 * anderbubble `git://civilfritz.net/ikiwiki.git`
 * frioux `git://github.com/frioux/ikiwiki`
 * llipavsky `git://github.com/llipavsky/ikiwiki`
+* [[cbaines]] `git://github.com/cbaines/ikiwiki.git`
 
 ## branches
 
index ebf5bdafe181d1499d8e6df7b9699cfe0ceb372f..538a3ab100980566d0fccfbef41201702f4ebf95 100644 (file)
@@ -6,12 +6,20 @@ At the moment I'd prefer not running cgi and one of the advantages of a wiki com
 
 This is a minor issue but I'd be interested if you think it's possible to prerender waypoint maps. I.e maps that center on a specific waypoint whilst having all waypoints of that map visible.
 
+> I think it would be possible, but it would require a patch. I do think however that this is the way it works: all waypoints are shown, and the only difference is that the map is centered. --[[anarcat]]
+
 ### Configure all osm tags to use same icon?
 
 Setting the default `osm_tag_default_icon` does not seem to work? All tagged waypoint pages now want their own unique icon and display broken image if not present. Populating the tag folder with identical icons gets a bit much when there are a lot of tags.
 
+> That looks like a bug. Please file it as such in [[bugs]]. --[[anarcat]]
+
 ### \[Wishlist\] Setting unigue icon for "active waypoint"
 
 For usability it would be great if it was possible to display the active waypoint with a different icon. So that clicking a waypoint map symbol takes you to a map with lots of waypoints but the waypoint from the sources page is centered (as per current behaviour) **and** has a different icon.
 
+> This *would* indeed be awesome. --[[anarcat]]
+
 *PS. The osm plugin is amazing!*
+
+> Thanks! --[[anarcat]]
index 890b69d4de99d0831e2f368a561385c9490c2fd0..b9b3122e21aea43060df01fc284bd2fa2be4a437 100644 (file)
@@ -82,3 +82,5 @@ opopopo
 This **SandBox** is also a [[blog]]!
 
 [[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]
+
+Testy test!
diff --git a/doc/users/cbaines.mdwn b/doc/users/cbaines.mdwn
new file mode 100644 (file)
index 0000000..9781cfe
--- /dev/null
@@ -0,0 +1,4 @@
+About Me
+========
+
+From the UK, interested in Ikiwiki and OpenStreetMap.