Re: [blogite] Re: Smart anchoring

Date view Thread view Subject view Author view Attachment view

From: Stuart Langridge (aquarius-lists@kryogenix.org)
Date: Tue Sep 24 2002 - 10:04:43 BST


Adrian Holovaty spoo'd forth:
>>How did you implement it? Are your posts stored in the
>>back end with some kind of intermediary link representation
>>format (say, it says <AHLINK post="3234">) and then every
>>post that's displayed is rewritten to have proper links on
>>the fly, or do you store posts with proper permalinks in
>>them and then rewrite permalinks to be local anchors on
>>pages where that would be appropriate?
>
> The former. Everything's stored in my db using an intermediary format, and
> the links are generated on the fly. This way, if I should ever want to
> change my URL scheme for some reason, I'd just have to change a variable in
> one place, and all internal links would remain valid. (It's separation of
> content from presentation on an even deeper level.)

Thought so. Can you give a more detailed description of how a post is
stored?

sil

-- 
UTF-8 has a certain purity in that it equally annoys every nation, and
is nobody's default encoding.
           -- Andy Robinson, 10 Apr 2000
Message sent over the Blogite mailing list.
Archives:     http://www.aquarionics.com/misc/archives/blogite/
Instructions: http://www.aquarionics.com/misc/blogite/

Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : Tue Sep 24 2002 - 14:05:00 BST