[pmwiki-users] Bad markup with Kinf-of-Blog

Ryan R. Varick rvarick at gmail.com
Fri Oct 20 08:40:39 CDT 2006


Probably, but I don't know how. ;-)

My guess is that it has to do with the way the (:blogdigest:) is translated:

// Handle the digest much like the archive above
Markup('blogdigest', 'directives',
"/^\(:blogdigest?(\s+group=($GroupPattern)){0,1}+(\s+startdate=([0-9]{8})){0,1}+(\s+weeksback=([0-9]{1,\
3})){0,1}:\)\\s*$/e", "Keep('<:block>' .
view_blog_digest('$2','$4','$6'),'L')");

Now I don't know what most of those functions mean, so I'm sure I'm
using it slightly incorrectly and PmWiki is treating the
(:blogdigest:) as a block-level element.  If Patrick looks at this
thread, he might be able to help out; otherwise, I am at a loss.
Sorry. :-/

Ryan



On 10/20/06, Lothar Baier <lbb at gravitalis.de> wrote:
> Hi all!
>
> I'm using the cookbook-recipe Kind-of-Blog. It works fine
> for me with one exception:
>
> If you include (:blogdigest:) in the content of a page,
> it is  include in <p> </p>. So you get invalid markup,
> because the single entries are surrounded by divs.
>
> Is there any way arround this?
>
> TIA
> Lothar
>
> --
> ***********************************************
> * Lothar Baier   *   lbb at gravitalis dot de *
> * Gravitalis Akademie  * http://gravitalis.de *
> * Gravitalis Webdesign * design.gravitalis.de *
> * Fon 03761-8882226      *     Fax 03761-3601 *
> ***********************************************
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.408 / Virus Database: 268.13.7/488 - Release Date: 19.10.2006
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>




More information about the pmwiki-users mailing list