On 10/23/07, Matthew Whipple <[EMAIL PROTECTED]> wrote:
> Mark Wagner wrote:
> > I'm working on a program to process Wikipedia pages. Wikipedia pages
> > can contain templates of the form:
> >
> > {{template name
> > |key = value
> > |key2 = value2
> > |...
> > }}
> >
> > Any value may in turn be
"Mark Wagner" schreef:
> I'm working on a program to process Wikipedia pages. Wikipedia pages
> can contain templates of the form:
>
> {{template name
> |key = value
> |key2 = value2
> | ...
> }}
>
> Any value may in turn be a template, with essentially no limit to the
> level of nesting. Given
Mark Wagner wrote:
> I'm working on a program to process Wikipedia pages. Wikipedia pages
> can contain templates of the form:
>
> {{template name
> |key = value
> |key2 = value2
> |...
> }}
>
> Any value may in turn be a template, with essentially no limit to the
> level of nesting. Given a "key
Recursion is the way I'd solve something like this.
Start processing the data, line by line, and when you hit a 'begin
template' ({{), recursively process it.
An example of a nested template and a sample of what you are trying to
generate might make it easier to be specific about the solution
--
I'm working on a program to process Wikipedia pages. Wikipedia pages
can contain templates of the form:
{{template name
|key = value
|key2 = value2
|...
}}
Any value may in turn be a template, with essentially no limit to the
level of nesting. Given a "key = value" pair, how would I go about
re
Use a html form to post name and value to the manage file instead of query
string
- Original Message -
From: "Johnstone, Colin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 3:54 AM
Subject: Query String processing
> Hi
Hi all,
I am writing an administration interface to my mailing list.
Upon opening the program it displays the email addresses of all the subscribers along
with a delete link next to each name.
The subscribers are written to a hash.
When you click delete link the name/value pair is passed back
Hi all,
I am writing an administration interface to my mailing list.
Upon opening the program it displays the email addresses of all the subscribers along
with a delete link next to each name.
The subscribers are written to a hash.
When you click delete link the name/value pair is passed back