Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-12-15 02:04:11

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

[wiki] Txp Semantics page in wiki

I’m going to edit this page soon, Textpattern Semantic Model, but since when did “Keywords” become a semantic element of the admin-side?

And do we really need to bring Britney Spears into this?

Categories are a method of organizing articles by the nature of their content – not by their location in the navigation structure. If you cut articles out of the newspaper and put them in envelopes, you’d be matching the effect of categories. You may have an envelope for Britney Spears that had an article from the “entertainment” section and maybe an article from the “birth announcement” section. The Britney Spears Category is nothing but a label that was put on Articles to make it easier to search and display information. Categories are not intended to be used as navigational elements.

Offline

#2 2010-12-15 09:28:01

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,821
Website GitHub

Re: [wiki] Txp Semantics page in wiki

Nice. Much clearer.

Should the ‘Tags’ segment link to the Tag Reference ? Or maybe have a brief mention of the fact they are XML-style tags <txp:some_tag> so people can zero in on them in their default page templates when figuring out what the heck’s going on in this Textpattern thingamybob that someone said was awesome? (Assuming people read the docs of course :-) Or is that just going overboard?

And regarding Britney, I never even noticed she was there (bit like the charts, really). She’s graced our wiki for quite some time too. Good to finally honour her retirement.

P.S. In that old revision I also enjoyed the sentence “A form is a discreet, reusable chunk of content”; presumably as opposed to a noisy, brash, lewd, reusable chunk of content!

Last edited by Bloke (2010-12-15 09:28:51)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2010-12-15 09:53:01

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: [wiki] Txp Semantics page in wiki

Bloke wrote:

Should the ‘Tags’ segment link to the Tag Reference ? Or maybe have a brief mention of the fact they are XML-style tags <txp:some_tag> so people can zero in on them in their default page templates when figuring out what the heck’s going on in this Textpattern thingamybob that someone said was awesome?

Yeah, I tried doing that, but for some strange reason the link would not show up. Granted, it was about 4h30 in the morning, so I’ll have another go now that I’ve had two hours sleep and a half pot of coffee.

This, however, was not working and should have: [[category:Tags Reference]], or did I forget how to create links?

Bloke edit: sorry, went to Reply and hit Edit instead. Thank heavens for history: post restored

Last edited by Bloke (2010-12-15 09:58:01)

Offline

#4 2010-12-15 09:56:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,821
Website GitHub

Re: [wiki] Txp Semantics page in wiki

Destry wrote:

This, however, was not working and should have: [[category:Tags Reference]]

Is it [[category:Tag Reference]], singular?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#5 2010-12-15 10:56:18

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: [wiki] Txp Semantics page in wiki

I mistyped it here, but I used it correctly at the time, eventually copying it directly from the url on the third try. :)

I’ll go give it another try.

Offline

#6 2010-12-15 11:00:58

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,821
Website GitHub

Re: [wiki] Txp Semantics page in wiki

Just checking :-)

You’re right though, I just tried it and the Preview omits the link. Freaky…

Edit: and using [http://textpattern.net/wiki/index.php?title=Category:Tag_Reference Tags] results in an ‘external’ link being generated. I give up!

Last edited by Bloke (2010-12-15 11:04:07)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#7 2010-12-15 11:23:52

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: [wiki] Txp Semantics page in wiki

This could be a warning sign that we need to get the wiki updated ASAP.

But still it’s weird; not only does the link not show up, but it strips the p tags from around the whole paragraph too.

Offline

#8 2010-12-15 11:29:09

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: [wiki] Txp Semantics page in wiki

Okay, I’m happy to report that I simply forgot what I was doing. Doh!

It’s a category wiki tag, which are, by default, used to put pages into categories, not create links. But a link can be created to a category page by escaping the behavior with a preceding colon: [[:category:Tag Reference]]

Voila!

Last edited by Destry (2010-12-15 11:29:30)

Offline

#9 2010-12-15 11:30:41

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,821
Website GitHub

Re: [wiki] Txp Semantics page in wiki

Destry wrote:

not only does the link not show up, but it strips the p tags from around the whole paragraph too.

Yeah I noticed that. I just searched the wiki for other uses of it and it seems [[:category:Tag Reference|Tags]] is the correct syntax to use. Never would have guessed that.

EDIT: Ah, I see you found it too :-)

Last edited by Bloke (2010-12-15 11:31:46)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#10 2010-12-15 11:39:08

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: [wiki] Txp Semantics page in wiki

This makes me think having a wiki syntax cheat sheet post here in the forum would be a good idea, and make it a sticky. Or a [[help:Mastering Wiki Links]] page in the wiki help section.

Offline

#11 2010-12-15 11:48:35

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,821
Website GitHub

Re: [wiki] Txp Semantics page in wiki

Destry wrote:

This makes me think having a wiki syntax cheat sheet post here in the forum would be a good idea, and make it a sticky. Or a [[help:Mastering Wiki Links]] page in the wiki help section.

Either/both work for me and would be a massive boon for occasional wikiers like me who forget rules. I’m forever trying to use [http://some.site|Some site] instead of using a space between URL and link, because the internal renaming of articles uses [[help:Mastering Wiki Links|the pipe]] symbol.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB