problems again with blog

2 views
Skip to first unread message

Oscar

unread,
Jan 29, 2008, 12:37:40 PM1/29/08
to TiddlyWiki
Probably you know (as I ask something every week ;-) ) that use tw as
a blog.
Well, I've got a proble with comments.
I use the haloscanplugin and, in normal situations it works; but with
firefox (and not with opera, i.e.) if someone arrives not to the
homepage but to a permalink, the button "comments" doesn't appear.
(e.g. http://corax.altervista.org/#Kruska ; the button has to appear
in the right lower corner. The modify button too, mouse over)
If I try to modify the tiddler and then save or ignore, the comment
button appears.
I think it's a delay problem, but I don't know how to fix it.
Alternatively: some other stuff to allow comments instead of haloscan?
I tried js-kit, but don't know how to insert in any tiddler.

Thanks,
Oscar

Oscar

unread,
Feb 3, 2008, 7:19:52 PM2/3/08
to TiddlyWiki
It's me...again!

I found a possible solution; but I don't know how (if it is possible)
to "write the code".
I would like to add, at the end of any tiddler (eventually only the
tiddlers tagged with *blog*) a link to the comments page.
It will sound like:

[[comments|http://www.haloscan.com/comments/coraxgroup/XXXXX]]

where XXXXX is the tiddler title or the tiddler date or any unique
specification for any tiddler.

Is it possible to add something like "+tiddler.title+" in that link?
And how could I manage the viewtemplate?
Thanks again,
Oscar

http://corax.altervista.org

On 29 Gen, 18:37, Oscar <oscar.coll...@gmail.com> wrote:
> Probably you know (as I ask something every week ;-)  ) that use tw as
> a blog.
> Well, I've got a proble  with comments.
> I use the haloscanplugin and, in normal situations it works; but with
> firefox (and not with opera, i.e.) if someone arrives not to the
> homepage but to a permalink, the button "comments" doesn't appear.
> (e.g.http://corax.altervista.org/#Kruska; the button has to appear

Eric Shulman

unread,
Feb 3, 2008, 8:03:25 PM2/3/08
to TiddlyWiki
> I would like to add, at the end of any tiddler (eventually only the
> tiddlers tagged with *blog*) a link to the comments page.
> [[comments|http://www.haloscan.com/comments/coraxgroup/XXXXX]]
> where XXXXX is the tiddler title or the tiddler date or any unique
> specification for any tiddler.

step 1:
Install these two plugins:
http://www.TiddlyTools.com/#TaggedTemplateTweak
http://www.TiddlyTools.com/#WikifyPlugin

step 2:
copy your existing [[ViewTemplate]] definition to a new tiddler called
[[BlogViewTemplate]], and change this:
<div class='viewer' macro='view text wikified'></div>
to:
<div class='viewer'>
<div macro='view text wikified'></div>
<div macro='wikify "[[comments|http://www.haloscan.com/comments/
coraxgroup/%0]]" title'></div>
</div>

step 3:
create a new tiddler and tag it with "blog"... when that tiddler is
displayed, TaggedTemplateTweak will automatically apply your
customized BlogViewTemplate, which uses WikifyPlugin to dynamically
render an external link constructed from the current tiddler title.

QED.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

Oscar

unread,
Feb 3, 2008, 11:53:40 PM2/3/08
to TiddlyWiki
Eric,
many thanks!
It's exactly what I'm searcing...
Thanks
Reply all
Reply to author
Forward
0 new messages