diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-21 12:31:33 +0100 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-21 12:31:33 +0100 |
commit | dd87d82fbe2bf09abe634caef044474d5b24502e (patch) | |
tree | 597be2bf23e994b028b611e946f267cfe9407ab9 /doc/todo/supporting_comments_via_disussion_pages.mdwn | |
parent | 9c02d61d9bbc41705a5e32543b51261fad891095 (diff) |
Migrate doc/todo via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
Diffstat (limited to 'doc/todo/supporting_comments_via_disussion_pages.mdwn')
-rw-r--r-- | doc/todo/supporting_comments_via_disussion_pages.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/todo/supporting_comments_via_disussion_pages.mdwn b/doc/todo/supporting_comments_via_disussion_pages.mdwn index 50bc17ba3..14a8b3f71 100644 --- a/doc/todo/supporting_comments_via_disussion_pages.mdwn +++ b/doc/todo/supporting_comments_via_disussion_pages.mdwn @@ -62,7 +62,7 @@ So, I have some code, included below. For some reason that I don't quite get it What I ended up doing is write something like this to the page: - [[blogcomment from="""Username""" timestamp="""12345""" subject="""Some text""" text="""the text of the comment"""]] + [[!blogcomment from="""Username""" timestamp="""12345""" subject="""Some text""" text="""the text of the comment"""]] Each comment is processed to something like this: @@ -133,7 +133,7 @@ Each comment is processed to something like this: $cgi->param('comments') : ''; my $comment=$cgi->param('blogcomment'); - $content.=qq{[[blogcomment from="""$name""" timestamp="""$timestamp""" subject="""$subject""" text="""$comment"""]]\n\n}; + $content.=qq{[[!blogcomment from="""$name""" timestamp="""$timestamp""" subject="""$subject""" text="""$comment"""]]\n\n}; $content=~s/\n/\r\n/g; $form->field(name => "editcontent", value => $content, force => 1); } # }}} |