[WM] Re: Breadcrumb Problems
Robin S. Socha
robin.socha.net
Mon Mar 17 08:55:41 GMT 2003
* Brian Wisti <brian at coolnamehere.com> writes:
> Robin S. Socha wrote:
>>* Brian Wisti <brian at coolnamehere.com> writes:
> (CC'ing the list so anyone else can look at this in the archives)
Sorry, I hadn't seen you'd Cc:'ed the list. Like, don't Cc: people who
are obviously subscribed :)
>>> I was taking a quick look at your wmk file, and wondered if I could
>>> be helpful. Here's the snippet that caught my attention:
>> >
>> > <sitemap name=mainsitemap node=sitemapnode leaf=sitemapleaf>
>> > <wmmeta name=title value="WebMake Sample: site map" />
>> > <wmmeta name=Abstract value="Map of the site" />
>> > </sitemap>
>> >
>> > So my question for you is "Where are sitemapnode and sitemapleaf
>> > defined?"
>>
>>That's a good question I cannot answer. The first person to give the
>>correct answer will get a free SA-enabled account on mail.socha.net :-)
[...]
>> I'm having a really hard time understanding webmake because I just do
>> not speak a single programming language :-)
> Hey, don't worry about not speaking any programming languages. You're
> doing pretty good so far!
Thanks. I've even managed the <download> plugin now...
> You might want to start the same way I did, by pasting the example in
> the Webmake documentation page for sitemap:
[<sitemap> example]
> This is what I've done, and I've only started to stretch past that
> sample recently.
Okay, so I'll admit defeat. I just don't get it. I don't understand how
<sitemap> and <breadcrumbs> play together. I presume the documentation
is very clear, but right now, well, I don't get it. I wonder if anyone
has a working example at hand?
> I have been messing with WebMake for ... oh jeez, a couple years now!
Now that I've found it (by surfing along Justin's site), I'm quite
amazed how it managed to hide itself so well from me, because I've been
looking for something like it for quite some time (WML just wasn't it,
although close).
One thing that defintly doesn't rule, though, is this:
<http://validator.w3.org/check?uri=http%3A%2F%2Fwebmake.taint.org>
We're doing a lot better:
<http://validator.w3.org/check?uri=http%3A%2F%2Fslayer.templeofhate.com>
because we're using the right(?) DTD. It's not perfect, but it's a
start...
> Anyways, with all that experience, I might be able to help you with
> the basic questions. And somebody else here can help out. You know,
> one of the smart people ;-)
That would be most appreciated.
Additionally, I wonder if anyone has a solution for the following problem:
We're housing a couple of people on slayer, and I'd like to give them
webspace including webmake along the lines of <http://monkey.org/users/>.
Two issues: for /users/index.html, I'd like to have a function that
iterates through a list of the users and prints the url and username. As
I said, I don't speak any programming languages, but additionally, I
don't understand how <template> can be hooked into <for>. Before you
read the following, make sure you don't have any liquids in your oral
cavity:
,----
| <template name="userdirs">
| [ <a href="~${username}">${username}</a> ] <br>
| </template>
|
| <out file="users/index.html" name="users">
| <{set page_title="${${out}.title}"}>
| ${header}
| <for name="username" values="rsocha sheskar">
| [ <a href="/~${username}">${username}</a> ] <br>
| </for>
| ${footer}
| </out>
`----
As an alternative, I was thinking of having /users as a dir in the
Apache file system and symlinking the users dirs to their
~/public_html. Could I have a central index.wmk in each of the userdirs
(i.e. /users/robin/index.wmk) that is included in the /index.wmk, and if
so, how?
Any other suggestions would be greatly appreciated. And although you may
not believe it, I can actually read and understand technical
documentation, so any qualified RTFM will be appreciated.
Otherwise, webmake is serious fun.
Thanks for your time,
Robin
More information about the Webmake-talk
mailing list