[pmwiki-users] Is there page size limit in PmWiki?

Brent Zupp atticus4 at gmail.com
Tue Jan 2 00:23:40 CST 2007


Found a cause, though it doesn't make sense....

I have conditional markup in the Main.GroupHeader for the adsense link
at the top of my Main Group pages:

(:if name -HomePage:) (:adsenselink:)(:ifend:)

When I take out the conditional markup and leave (:adsenselink:)
directive the page loads fine.

So the conditional markup is throwing the rendering off. Dunno why.

FYI, here's my adsenselink directive definition:

## Markup for "adsense link"
Markup('adsenselink', 'directives',
  '/\\(:adsenselink:\\)/',
  Keep("
	<div style=\"text-align:center;\">
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-XXXXXXXXXXXXX\";
google_alternate_color = \"FFFFFF\";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = \"468x15_0ads_al\";
//2006-10-11: Notebook top link
google_ad_channel =\"6008419606\";
google_color_border = \"FFFFFF\";
google_color_bg = \"FFFFFF\";
google_color_link = \"CF0000\";
google_color_text = \"000000\";
google_color_url = \"008000\";
//--></script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></script>
</div><br /><br />
"));

Would like to be able to keep the adsenselink off the home but the
conditional of any kind seems to mess that up (I tried
variations)...But for now at least the page loads.

Best,
Brent


On 1/1/07, Brent Zupp <bplotter at yahoo.com> wrote:
> Thanks for taking the time to do the test and make the suggestions, Patrick.
>
> Different skin didn't help. I just switched hosts, so I'll bet it's a
> PHP config thing. I'll explore that avenue. Issue seems related to the
> files size, which is odd. If I take a few paragraphs out, it displays
> fine.
>
> Happy New Year!
>
> Brent
>
> On 1/1/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > On Mon, Jan 01, 2007 at 11:45:53AM -0800, Brent Zupp wrote:
> > > Is there page size limit in PmWiki?
> > >
> > > One of my pages containing a lot of text won't display its contents. See
> > >
> > > http://www.wanderings.net/notebook/Main/WhyPeopleThinkComputersCantThink
> > >
> > > This page contains a lot of text, but none of it diplays.
> >
> > PmWiki doesn't have any sort of size limit.  Actually, that page is
> > fairly short -- only 33KB long.  And just to demo, I've put the
> > page markup onto pmwiki.org at
> >
> >    http://www.pmwiki.org/wiki/Test/WhyPeopleThinkComputersCantThink
> >
> > It displays fine there.  (Feel free to delete the page if you don't
> > want the content duplicated here.)
> >
> > So, I suspect a recipe, skin, or some PHP configuration parameter is
> > causing the problem.
> >
> > Pm
> >
> >
>
>
> --
> Brent Zupp
> http://www.wanderings.net/notebook
> http://www.flickr.com/photos/62142788@N00/
>
> To invent, you need a good imagination and a pile of junk.
>  ~ Thomas A. Edison
>


-- 
Brent Zupp
http://www.wanderings.net/notebook
http://www.flickr.com/photos/62142788@N00/

To invent, you need a good imagination and a pile of junk.
 ~ Thomas A. Edison




More information about the pmwiki-users mailing list