robert,
September 6, 2001 at 12:40:23 AM CEST
update coming! i'm gonna update antville in the next days, and i'll have to warn you before: the structure of skins has changed, which will most likely harm all weblogs hosted here. sorry for that. i'll try to do the basic changes in the database, but there will be some work left for you. this change was necessary to minimize the repeating layout-work in several skins (i.e. including the header-skin several times ...). to make things easier i rewrote the skinmanager and tried to explain what skin is used for what. to make the update easier for everybody, i did some other things:
so due to the change of the skin-structure in antville i'll wait a few days with this update. PLEASE NOTE!!! if you really care about the design you gave your weblog you should save the source of your skins somewhere as files on disk (because some of them won't be editable anymore!). And as always: i'm happy to hear from you!
tobi,
September 6, 2001 at 8:52:47 AM CEST
cool very nice, i am looking forward using the update! ad <wbr>: should work at least with navigator and explorer versions 2 and higher. i am curious about the url autodetection. sounds a little bit strange, to enter a url and get a macro afterwards... ain't that confusing? we'll see.
robert,
September 6, 2001 at 11:05:09 AM CEST
thanks the url-autodetection might be confusing, but i found no other way than changing them into a macro-tag, and urls can appear in very different contexts (i.e. in a macro-tag, in a simple >a href-tag, ...). we'll see ;-) ... comment
hns,
September 6, 2001 at 4:06:11 PM CEST
Great! I just upgraded my internal installation (unfortunately hopdev is not reachable from outside helma at the moment) and it looks great! Especially the skin manager is much much better. One strange thing is that the Auto-URL only works in comments, but not in stories. I guess that the idea is that story authors are supposed to write full HTML tags ... not sure if this assumption holds ;-)
kris,
September 6, 2001 at 4:24:20 PM CEST
should work everywhere i agree with hannes. at least two of my friends have no idea about html. i always add links to their stories and delete the trailing whitespace (usually cr). i haven't seen the auto-url yet, but i know manila, graymatter and a lot of message board softwares do it. maybe you can look how they did it. what happens, when i edit an old message with urls in the text? will i see the macro or the original message. btw, what do you think about a simple macro for simple image inclusion (without alignment options)?
hns,
September 6, 2001 at 4:46:06 PM CEST
Hm, the text is actually changed to contain the macro instead of the URL, which is not very good IMHO. Robert, why not perform a regular expression based substitution like gong does? It's pretty reliable about only linking "free-standing" URLs, i.e. the ones that aren't already in an HTML tag or macro. If you wish, I could port this code to antville.
hns,
September 7, 2001 at 2:59:25 PM CEST
Got it! I pretty much took your formatLinks() function, but call it when the text is rendered instead of at when it's posted. I've found a way to make sure only "free-standing" links are linkified by adding (^|\s) (beginning-of-line-or-whitespace) to the beginning of the pattern. Funnily, since whitespaces are used both to recognize beginning of links and ends of links, I have to run the pattern twice ;-) /** * function activates URLs to HTML link tags */ function activateLinks (str) { var pre = "<a href=\""; var mid = "\">"; var post = "</a>"; var l1 = new RegExp("(^|\\s)([fhtpsr]+:\\/\\/[^\\s]+?)([\\.,;\\)\\]\"]?(\\s|$))"); l1.ignoreCase = true; l1.global = true; // this is odd, but we have to run the regexp twice to catch URLs // which imediately follow each other. This is because the leading // and trailing whitespaces are part of the expression, and if there's only // one whitespace character between two URLs, the first match eats it up // and the second URL doesn't match. str = str.replace(l1, "$1" + pre + "$2" + mid + "$2" + post + "$4"); str = str.replace(l1, "$1" + pre + "$2" + mid + "$2" + post + "$4"); return (str); } It's in the CVS now. ... comment
kris,
September 6, 2001 at 11:16:45 PM CEST
READY! I saved all my modifications. ... comment
|
The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8551 Days
last updated: 1/4/11, 10:22 AM Youre not logged in ... Login
... home
... topics ... galleries ... Home
... Tags
... Galleries
... about antville ... download ... macros.antville.org ... help.antville.org ... translate antville! ... antville home
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)
|