Re: Features Listing

"Tomislav Grabic" <[email protected]> Thu, 18 Sep 2003 11:43:55 +0200
Newsgroups gmane.comp.cms.xaraya.documentation
Organization Xaraya News Server
Message-ID <[email protected]>
Jason Judge wrote:
> "Tomislav Grabic" <[email protected]> wrote in message
> news:[email protected]
>> mikespub wrote:
>>> In article <bk7106$35j$1-111RdWWlOxkOkXtL6OYfHgC/[email protected]>, "Tomislav Grabic"
>>> <[email protected]> wrote:
[...]
>> I didn´t know this... so, to have an example, [article:it came from
>> the desert:aid:89] would lead to
>> http://www.iroke.de/index.php/blogs/89 in my case? What happens if I
>> move the article to another category, does the ID change?
>
> It doesn't do exactly that yet - but you are on the right lines. If
> you let me know what you _would_ like it to do, and what the matching
> string should look like, then I can set up some examples in the
> default install to do exactly that.

Why is it neccessary to have the title in the [link], shouldn´t it be
prevented that two objects in the system don´t use the same ID? If it´s
unique, you wouldn´t need the article title to identify the object in
question. :-) Having the ID shown in the admin overview for articles would
be nice btw.

There are two kinds of links I can think of right now with slight optional
possebilities. Internal and external, so i.e.

[aid:89] creates <a href="http://www.iroke.de/index.php/blogs/89">it came
from the desert</a>

[title:my alternative title blabla:aid:89] creates <a
href="http://www.iroke.de/index.php/blogs/89">my alternative title</a>

[aid:89:e] creates <a href="http://www.iroke.de/index.php/blogs/89">it came
from the desert</a> in a new window (e for external, whatever :-) )

[xaraya.de] creates <a href=http://www.xaraya.de>Xaraya title</a> in the
same window

[xaraya.de:e] creates <a href=http://www.xaraya.de>Xaraya title</a> in a new
window

I didn´t include the target=blank stuff as it isn´t xhtml compliant and the
Javascript I use doesn´t work with browsers with JS turned off...

...and when I think about it, I´m not sure whether a WSYIWYG wouldn´t be a
better way to do it instead of using autolinks?
bye

Tomi