Hmmmm. More questions

On Mon, May 25, 2009 at 20:53, Allister Jenks <[email protected]> wrote:

> Hey, the heater has warmed the room and my brain is getting some of this.
> I essentially have the basic design working now and can see where some of
> the tweaks need to be made. (Not to mention the whole skin design and a site
> structure outside the items & categories!!)
>
> One, perhaps unintended consequence of doing the categories this way is
> that I can probably use a regex text editor on my old source to get all the
> categories set quick smart.  :-)
>
> Next questions before I go too far on the data entry front.
>
> 1) I need to do some number crunching for each item when displayed. I have
> a PHP function I tweaked for PmWiki. What's the best way to integrate that?
> Basically I have two metric measurements stored on each item and I need to
> output in inches and 1/2s, 1/4s or 1/8s. The PHP function converts one
> measurement from mm to in.
>
> 2) Re getting the data across, I have around 200 items which I can munge in
> a text editor, but as I see it I have to create 200 separate pages. Is there
> a way to script that somehow? It'd be a one-off exercise. My main concern is
> ensuring no details change between old and new sites.


3) I don't believe I need the title for the item pages, as the item names
are all codes of the form RBxxx-yy where xxx and yy are numerics. How can I
output the page name forced to upper case? The current category page lists
the items as links using the title template [[{+p}|+]].  Essentially what I
want is toupper({p}) as it shouldn't be a link - I'm going to add all the
detail in the listing.

-- 
Allister

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to