Re: [blogite] Re: Favourite features

Date view Thread view Subject view Author view Attachment view

From: Ian Hickson (ian@hixie.ch)
Date: Sat Sep 07 2002 - 10:35:16 BST


On Sat, 7 Sep 2002, Stuart Langridge wrote:
> Adrian Holovaty spoo'd forth:
>> [permalinks to part of posts]

Here's how I've implemented this in my Web logging system [1]:

The poster has to explicitly include permalink attributes in the form:

   id="section-<?stamp?>"

...to create the permalinks to the part of the post. (The script
automatically expands <?stamp?> on output to be the stamp of the blog
post in question.) (note the alphabetic section name comes before the
numeric stamp, since IDs can't start with numbers in HTML.)

Then, to give users some indication of what the permalink for a section
is, I've been adding title attributes:

   title="permalink to this section: #section-<?stamp?>"

Now I'll grant you, that isn't very good UI (You can't just copy and
paste the link). Is there a better way?

[1] Source: http://software.hixie.ch/applications/blog/
    Demo: http://www.dummy-blog.org/

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
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 : Sat Sep 07 2002 - 12:05:00 BST