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

Writing paragraphs

paragraphs
paragraphs

The most basic thing for writing text is writing paragraphs. A paragraph is a bunch of sentences. Try to have three to five sentences in a paragraph, as a rule of thumb.

Paragraphs are usually separated from each other by an empty line. That's where most errors occur right now: Users simply press enter twice, like they are used from Word, etc.

Right now, content requires a bit of work from your side. Please include paragraphs within the p tag and don't leave empty lines between them. Also, write in a go. Don't do any linebreaks, trust phpWebSite (read: your web browser) to get that right.

Example paragraphs

<p>This is an example for writing paragraphs. It consists of two paragraphs. They are shown exactly the way you would enter them in phpwebsite</p>
<p>Here comes the second paragraph for our paragraphs example. Please note, how we press enter only once after the closing paragraph-tag (</p>) and depend on the p tag to get everything right.</p>

Benefits of this approach

Ok, I must admit, it takes a bit getting used to writing paragraphs this way. Then, it gives you a lot of flexibility. You can exactly specify, how paragraphs look and feel in your stylesheet.

If your company for some weird reason decides, one and a half line between paragraphs look better between them -- no problem, you change one line in your style sheet.

Consider on the other hand the hard line breaks of phpWebSite, which are inserted when you do paragraphs the "conventional" way. You can't do half a <br/>. Even if you could -- you still had to apply it on your whole document.

It could also make sense to style paragraphs differently on different plattforms (handheld, computers, etc.) or in search results.

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