skip to main content

kiesler.at

Writing content for Article Manager
updated by rck, 2004-11-15

The core competence of phpWebSite is managing content. That's why it's called a content management system. There are a couple of guides on how to install phpWS technically and how to work with modules.

Then, there's the actual content. I couldn't find a common practice guide on how to write content for phpWebSite. So I did one on my own. Enjoy!

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10

Links

links
links

What's best practice for URLs? Just the plain vanilla a-tag, maybe? Not really. phpWebSite offers a better way: bbcode. By using bbcode for our URLs, we have a central instance where we can control their behaviour.

We can decide, for example, wether to open URLs in new windows or not. Why bother? Because XHTML strict doesn't allow URLs to open in new windows and we might to switch one day.

Example for a Link

<p>[url=http://www.lipsum.com/]lorem ipsum[/url] dolor sit amet, consecteur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<p>ut enim ad minim veniam, quis nostrud exercitation ullarnco aboris nisi ut aliquip ex ea commodo consequat.</p>

Benefits of the url bbcode

Right now, a couple of governments all over the world have to make their sites accessible. That's written law. Forcing them to use XHTML strict could be the next step.

While this is nice for people that visit those sites -- they have a better browsing experience -- it won't be too nice for the content providers.

One step in the right direction is the use of the URL bbcode, as it can make switching to XHTML strict -- and other handicaps -- a lot easier.

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10



RSSComments - Make a comment
The comments are owned by the poster. We are not responsible for its content.
  • No Subject

    Posted on 2004-11-15 01:43:11 By Anonymous

    Quote
    Fourth reason, and I guess those four should be enough: Using the vanilla img-tag is saying goodbye to advanced techniques like css shadows for images.
    Unquote

    Are you saying that Article Manager doesn't use the tag? That would be very interesting. I don't use the mod so can't check.

    [Reply ]

    • Article Manager img Tag

      Posted on 2004-11-15 02:41:03 By rck[110]

      The article manager uses the img tag. But it uses a template to encapsulate it: The section template.

      So, as soon as you want to add other tags around it or define the image as a background-image, you'll simply change your template. You can do that on a per theme basis.

      If you'd defined your image inline, with the img tag, you wouldn't be able to do so without changing the actual content.

      [Reply ]

      • Re: Article Manager img Tag

        Posted on 2004-11-15 03:44:26 By Anonymous

        1.
        OK, I get that. Is this any different than the way PageMaster operates images? I can control the img tag in my stylesheet and am using PageMaster.
        As I only needed one method of adding main content I chose PageMaster because of its add to Menu aspect which I didn't see in Article Manager and I didn't need multiple paging, was I wrong??

        2.
        I like clean html, I understand your references to Word and why you recommend the p tags etc but I can't help wondering... The majority of people *I know* that want a CMS don't want to know or learn about p or img. They know and use Word (or somesuch) and think it's perfect to be able to make a new paragraph using 2 returns when adding content, cause it's what they know, and it's economical to do updates in office instead of outsourcing. Isn't that (and organisation) really what CMS is about?

        hmmm, so, does this mean the CMS should change?

        [Reply ]

        • Clean HTML

          Posted on 2004-11-15 07:23:58 By rck[110]

          changed On 2004-11-15 07:31:01 Edited By rck (reason: )

          The majority of people *I know* that want a CMS don't want to know or learn about p or img. hmmm, so, does this mean the CMS should change

          What I am writing about is how to write content with phpWebSite right now. In the midterm, say for phpWebSite 1.0.0, I'd suggest a different way of entering content.

          While the approach here is perfectly valid and will give you very good results, it's quite technical. Shouldn't be to hard, now that there is a way how to do your html, to automate it with phpWebSite.

          And so, yes, I guess the CMS should change sooner or later. phpWebSite still isn't finished, though. "early adopters", like me, can do it the way I've described here.

          [Reply ]

        • Article Manager vs. Page Master

          Posted on 2004-11-15 07:29:45 By rck[110]

          OK, I get that. Is this any different than the way PageMaster operates images?

          No, both use the same approach here.

          because of its add to Menu aspect

          this is available in Article Manager as well.

          and I didn't need multiple paging

          Whatever works for your. You don't have to use multiple paging and will get the same results in AM that way. While Page Master looks a bit cleaner on the one hand, Article Manager has more features than Page Master and is improving all the time.

          Take for example the update to 2.9. We now have support for "Just blog it". That is, we can add content by a bookmarklet from any page on the web we want to. Also, the actual management component of Article Manager can do more things than Page Master. Just give it a try.

          [Reply ]

RSSAll Articles
2008, 2007, 2006, 2005, 2004

What's Related

Article Manager

Tutorials

Latest Updates

AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki

Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread

Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread


Zu den KO2100 Foren