we::blog  news
login::signup
we::blog
show template
the unbearable lightness of blog
PUKUL BERAPA TOK HARIMAU
AussieAri's weblog
:: kumprinx
The Story of Daypop: a weblog
..............SOFEANNY...........
No Name
julie.
Maigrey's Mind Message Center
AussieAri's weblog
sitiaisyah's weblog
xlabb's weblog
No Name
||~ the jo ann show ~||
Special dedicated to Jehan Miskin........
2000 December
2001 January
2001 February
2001 March
2001 April
2001 May
2001 June
2001 July
2001 August
2001 September
2001 October
2001 November
2001 December
2002 January
2002 February
2002 March
2002 April
2002 May
2002 June
2002 July
2002 August
2002 September
2002 October
2002 November
2002 December
2003 January
2003 February
2003 March
2003 April
2003 May
2003 June
2003 July
2003 August
2003 September
2003 October
2003 November
2003 December
2004 January
2004 February
2004 March
2004 April
2004 May
2004 June
2004 July
2004 August
2004 September
2004 October
2004 November
2004 December
2005 January
2005 February
2005 March
2005 April
2005 May
2005 June
2005 July
2005 August
2005 September
2005 October

we::blog news

This is where you get the latest news on the we::blog service: updates, bug fixes, changes, etc. Report any bugs to dc@danchan.com.

Sat 2001.03.17

10:17 Here's a problem

If someone removes the <weblog> section while editing their template then of course, the template doesn't work at all... Should I define the translate_template directives by default? For now, I've just put in a huge warning not to delete the <weblog> section.

If you run into a problem with your template, go here and copy out the <weblog> section into your template.

2 comments

Mon 2001.03.12

13:39 New Standard Template

Anyone signing up from now on gets a new version of the standard template that uses translate_template directives to make things simpler. Hopefully...

People who signed up earlier can grab testlog2's template for an example of how the new stuff works. You can copy all the "translate_template" lines to your template.

Things are simplified to the point where this is the main structure of your template:

[#main_page]
[#messages]
[#visible_message]
[$message_title]
[$message_body]
posted at [#post_datetime]
[/#visible_message]
[/#messages]
[/#main_page]

0 comments

Sun 2001.03.11

19:29 Another New Feature: translate_template

Warning: This one is only for users who know what they're doing. It's a text substitution on your template. Check out testlog and show template to see how it can be used. It greatly simplifies the actual template by predefining things, but there might be some potential for confusion... Greggman and Schlaulau, can you guys check it out?

If it seems like a good idea, I want to change the standard template that you get when you first create a weblog to include these predefined "building blocks".

1 comments

18:15 New Feature: translate

You can make substitutions in your message text now. For example, you can replace all occurences of :) with a smiley face gif. To do this now to your weblog, add these lines to your weblog section in your template.

translate {:)} {<img src="URL of gif">}

You can use the URL of the crappy smiley face here if you want.

You can "translate" any text that doesn't use curly braces into any HTML that doesn't use curly braces. So this bypasses the tag restriction of posts that only allows links, bold and italic tags.

Check out openlog's template for a couple more examples.

Right now, the translations that you specify are not done in order so you can't do things like:

translate {:)} {smiley}
translate {:-)} {smiley}
translate {smiley} {<img src="URL of smiley">}

and expect :) to translate to <img src="URL of smiley">

6 comments