|
From: Iain S. <iai...@ya...> - 2000-11-17 16:28:22
|
At 08:13 PM 11/16/00 -0500, Todd L. Miller wrote: > > Things do appear to be working though. In the info view of a page, is the > > title supposed to read "TopicName is linked to from"? Perhaps it > should be > > "TopicName is linked from/to" or "TopicName has the following wiki links" > > or "TopicName has the following wiki connections". > > Yeah, 'linked to from' is a really ugly way of saying that the >following pages have links to the page about which you requested >info. Maybe 'The following pages link to TopicName'? (I'll change it >when you get back to me.) Sounds good to me. > > Oh, and I noticed that the summary doesn't display in any of the > > listings... either in the hubs and nodes and topics list (where it doesn't > > look like its really intended (but perhaps should be)) or in the search > > results where there definitely is a space for it but its blank. It's not > > in the source so I think its just not getting sucked in. > > OK, I'll take a look at this. /Should/ it appear in the >topics/hubs-and-nodes lists? Yes. I think it should. If a page has a summary, we might as well display it every chance we get. :) > > Other than that no other obvious problems. And the formatting works well > > (although it would be interesting to throw some of the funkier pages from > > the joswiki at it to see what happens. :) > > Actually, I'd appreciate details on how the current joswiki >(a) renders pages and (b) stores them, so that I can write up an >importer. I assume there's some fairly straightforward way of sucking the >full text out of whatever database it's using? If so, it's just a matter >of figuring out how to pipe that (and the topic) into edit.inc in the >right place, I think. (If PHP lets you play with whatever kind of >database joswiki uses, this could /very/ easy. Which would be nice :)) If you can read perl, the wiki.pl file really has the complete list of perl regex's used to match and render the markups. I don't think we have to be too loyal to it if its not too convenient (perhaps if not, the importer can do on-the-fly conversions to equivilents (or at least strip out unsupported joswiki markups). As far as how the joswiki files are stored, its a single directory with 1500 files in it (the file name is the topic name). And the file itself stores the plain wiki text. So import is really just a "while dir has more files, file open and read and then blast it into the database". :) -iain |