[wp-hackers] Ideas for new features. (3.x?)
Sam Angove
sam at rephrase.net
Tue Feb 7 09:39:01 GMT 2006
On 2/7/06, Nathan Ollerenshaw <chrome at stupendous.net> wrote:
>
> 1. Securely editable templates.
>
> [snip]
>
> Personally, I don't like either of these approaches. I think that
> using Smarty makes a lot more sense, as it completely separates logic
> away from template design with the secure mode enabled.
There was a discussion about this last September. [1] (All the
messages with "separation of application logic from presentation
logic" in the title.) See especially [2].
IIRC WordPress MU already supports Smarty, and there's a modification
of 1.5 called SmartyPress.
If not one of those, it's fairly easy to write something yourself to
compile safe templates into actual code -- the users don't get to
touch real code. LiveJournal, MT, etc. all work this way. I wrote
[read: stole from TextPattern] the beginnings of one this afternoon.
[3]
[1]: http://comox.textdrive.com/pipermail/wp-hackers/2005-September/thread.html
[2]: http://comox.textdrive.com/pipermail/wp-hackers/2005-September/002611.html
[3]: http://rephrase.net/box/word/template/
>
> 2. Cross-authenticated comments and trackbacks.
>
>
> Step 1: An external (ie, he is not registered to your blog) user
> views your blog. He wants to make a comment. He types his comment
> into your comments page, puts in his username (on HIS blog) in the
> name field, and puts the URL to HIS blog in the Website: field.
That's what OpenID does, more or less. TypeKey and LiveJournal both
use it, and there's a (possibly not working completely?) WP plugin
available.
More information about the wp-hackers
mailing list