[pmwiki-users]SEO: Avoiding Headings in the SideBar

H. Fox haganfox at gmail.com
Mon Aug 15 21:30:15 CDT 2005


On 8/15/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> I don't think PmWiki should be unilaterally imposing that restriction.
> The idea that there should be only one <h1> per document is a
> W3C recommendation, not a requirement, and it's not PmWiki's role
> to prevent things that are otherwise legal.  So, while we can
> make it easy to do the right thing, I don't think we should force
> them into it.

I agree with this.  If I can detect

> * if there's a (:notitle:) in the page
> * if there's a H1 in the page

in skin.php, I think my skins can automatically enhance SEO
transparently, as in permitting

> 1) misuse of H1 headings :-)
> 2) "proper" use of an H1 heading only once in a page (not by
>     force -- see #1), otherwise the $Titlespaced is a H1 heading
> 3) having an H1, even in (:notitle:) pages without any H1markup

without affecting the appearance.  This should at least be available
in a skin, if not the core.

Hagan




More information about the pmwiki-users mailing list