[pmwiki-users] Nested divs needed for blog styling...
Patrick R. Michaud
pmichaud at pobox.com
Mon Dec 12 11:22:46 CST 2005
On Mon, Dec 12, 2005 at 11:27:32AM -0500, Ryan R. Varick wrote:
> On 12/12/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > If you use the ParseArgs() built-in to PmWiki, you don't have to
> > require the quotes -- it takes care of quote handling for you.
> > (See http://www.pmwiki.org/wiki/Cookbook/ParseArgs.)
>
> Wow, learn something new every day. Would ParseArgs hand non-quoted
> spaced attributes, something like:
>
> (:blogentry title=My Title With Spaces time=2005-12-12T11:27:00-05:00
> permalink=Blog.20051211:)
No, arguments with spaces have to be quoted. ParseArgs would see
the above as:
"title" => "My"
"" => "Title" "With" "Spaces"
"time" => "2005-12-12T11:27:00-05:00"
"permalink" => "Blog.20051211"
Also, at some point PmWiki is also likely to provide a function for
converting ISO formatted dates into Unix timestamps (unless PHP already
has one). But I wouldn't plan on it happening "immediately" -- it may
be a month or so before it makes it into a release.
Pm
More information about the pmwiki-users
mailing list