[pmwiki-users]SEO: Avoiding Headings in the SideBar
Patrick R. Michaud
pmichaud at pobox.com
Mon Aug 15 15:34:48 CDT 2005
On Mon, Aug 15, 2005 at 01:21:04PM -0700, H. Fox wrote:
> On 8/15/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > Beyond that, there's a nice correspondence between !! == <h2> and
> > !!! == <h3> that is helpful to those who know HTML. And if a
> > wiki admin wants to disable ! == <h1>, that's easily done via
> > a local customization.
To disable the ! markup, but leave !!, !!!, etc.:
> > > I propose %head% as a shorter form.
> Except it would be %p head%, not %head% wouldn't it?
No, we don't have to include the "p" -- I can make that part
of the wikistyle.
> > Noted, although I would like it to make the distinction between
> > a sidebar heading and a document heading more obvious...
> As with many things Hans writes, that brings something to mind...
> Would it be possible to have a configuration option to make ! generate
> different markup if the $Name is "SideBar"?
As a local customization, yes. In the core, no -- there's no requirement
that the sidebars be named "SideBar" and I really don't want to do
program a lot of sidebar-specific monkey-business into the core.
> Come to think of it, paragraphs should be the default and there should
> be a $SidebarHeadingsAreNotParagraphs setting. :-)
Sorry, you lost me on this one.
> Oh... I object to using "head" or "heading" since the whole idea is to
> cause it *not* to be a heading!
No, I thought the whole idea was that it would not be a *document*
heading (c.f. Crisses' earlier message). The thing in the sidebar
really is still a "heading", it just isn't a document heading and
it doesn't generate <h1>. Or do you have a better name than "heading"
for those section-divider-looking-things that sit in the sidebar?
More information about the pmwiki-users