Antville Project

update

last night i committed a new set of updates into CVS. changes are:

  • stories do not change the URL anymore whether they are part of a topic or not; story-URLs will now follow this scheme: [weblog]/stories/[story-ID]. this means that the permalink is now a *real* permalink.
  • this problem is solved, which also changed the URL of comments: the new scheme is [weblog]/stories/[story-ID]/comments/[comment-ID]. this allowes unlimited nested comments (i stopped testing after > 100 levels ;-)
  • every form now contains an "action"-attribute (i hope i didn't forget one), the action itself is assigned to res.data.action (accessible in skins as response.action) in the appropriate .hac-files.
  • changed weblogcount-macro: by default it now only counts the public weblogs, with the optional parameter count="all" it counts all hosted weblogs.
  • changed frontpage: now total number of hosted weblogs plus the number of public ones is displayed, the list of last updated weblogs only appears if there are any to show.
  • there is now one "delete"-action which allows the creator of a weblog to remove it. i didn't link it somewhere, mainly because i don't know where one would expect this link (any suggestions?)
i didn't update adele 'til now (will do some more testing before).

comment    

 
hns, May 16, 2002 at 10:44:28 AM CEST

cool!

a list of great changes!

link  


... comment
 
tobi, May 16, 2002 at 10:50:49 AM CEST

well-done

master robert, wizard of antville. :)

i think the delete action to remove a weblog completely probably should be accompanied by an (xml?) export feature, shouldn't it?

link  

 
robert, May 16, 2002 at 10:54:49 AM CEST

sure

that would be cool! how 'bout it, wizard of rss? :-)

link  

 
tobi, May 16, 2002 at 11:11:02 AM CEST

heheh

yes, rss might be the way. i just wonder how to create such an output: it could take some time to process a bigger weblog and turn every story, comment, image (...) data into an exchangable format. would a direct request via url work without time-out?

link  

 
hns, May 16, 2002 at 11:18:32 AM CEST

I'd say

this is a clear case for the XML extension. It should/might be possible to dump or load the whole weblog contents with a few lines of code. Might be a good idea to consult StefanP on this.

link  

 
robert, May 16, 2002 at 11:20:04 AM CEST

@tobi: chances are good such a request dies with a timeout, although i never tested something like that. even if it does not, this would block one thread per export for a pretty long time ... @hns: yep, that sounds good!

link  

 
tobi, May 16, 2002 at 11:24:38 AM CEST

xml xtension

would solve this blocking? or is this a job for the scheduler, anyway?

link  

 
hns, May 16, 2002 at 11:30:40 AM CEST

nope, using xml-extension is independent from the blocking/threading issue. I don't think we'll have a problem with timeouts though, I think it should be possible to dump the db content for big weblogs within seconds (with picture and goodie files going separate). Let's find out.

link  

 
stefanp, May 16, 2002 at 12:12:51 PM CEST

helma xml-extension

the xml-extension currently has two features:

  • convert an xml-file in a specified way and make hopobjects out of it. this can easily be used to parse rss-output. the rss-output is done with skins.

  • load/save in a generic helma-xml-style. with this function you can export HopObjects and re-create them exactly the way they were before (but you've got a lot of ugly helma-attributes in your xml-document). for real-world-use one thing has to be changed: at the moment you're only able to specify how many levels you want to descend into the object tree, but you can't completely suppress the output of certain nodes. so if you walk down weblog-owner-subscriptions-otherweblog-etc etc (don't know the exact structure) you'll eventually dump more than one weblog. this is not a lot of work, but requires some thoughts about the format of handing over this configuration. maybe you give the Xml.load/save functions a try and suggest sg.

link  


... comment
 
tobi, May 16, 2002 at 11:47:43 AM CEST

@ new url structure

works pretty well, and i think this is really the way it should be.

however, i noticed that i can create funny constellations of a story and its comments by hacking the url. e.g. with a structure like this:

story 1
+-- comment 2
+-- comment 3
+-- comment 4
and a path like /stories/1/comments/3 i get only comment 4 directly appended onto story 1.

did not bother myself with the logical issues but it appears a little bit weird to me (this way i can create references of comments to a story which might be at least confusing)...

and what about a permanent link of a comment? (darn, i am getting back to my old pov, that a comment should be treated exactly the same as a story...).

link  

 
hns, May 16, 2002 at 11:54:36 AM CEST

permanent link to comment

As it is, Antville does provide permalinks to comments, but does so by linking to the story with an #anchor to the comment id. (The link you get in the recent mod list for comments). I think if offering a perma-link to comments (to which I'm +1), it should be this and not a page with the comment alone. The idea for doint it this way is that a comment relies on and should be viewed within its context (i.e. the thing it is commenting upon).

link  

 
tobi, May 16, 2002 at 11:55:46 AM CEST

a comment relies on and should be viewed within its context

but that's obviously not the case anymore (i can view a comment attached to the wrong parent).

it's not a big issue but i think it not a big issue either to check if the url reflects the correct story/comments hierarchy.

link  

 
hns, May 16, 2002 at 11:56:59 AM CEST

i can view a comment attached to the wrong parent

that's a different problem than providing perma-links to comments, innit?

it's not a big issue but i think it not a big issue either to check if the url reflects the correct story/comments hierarchy.

I'd say it's a bug, right?

link  

 
tobi, May 16, 2002 at 11:59:29 AM CEST

that's the problem i described with emphasis above. the permalink for comments was just a minor note at the end.

link  

 
hns, May 16, 2002 at 12:03:14 PM CEST

that's the problem i described with emphasis above.

which is clearly a bug so I didn't feel the need to comment further.

the permalink for comments was just a minor note at the end.

... to which I replied that we do have permalinks in the recent mods list already, and maybe just need a way to provide/expose them.

(just to make things clear ;-)

link  

 
tobi, May 16, 2002 at 12:06:06 PM CEST

i luv meta threads

:)

no seriously, sometimes it's good to have a controlled dialogue.

link  

 
robert, May 16, 2002 at 12:29:58 PM CEST

vale

i fixed the bug: if one calls main-action for a comment, he's getting redirected to story-main (with an anchor to the requested comment).

+1 for including permalink of comments in default skins

link  

 
hns, May 16, 2002 at 1:10:32 PM CEST

that was fast!

+1 from me too.

link  

 
robert, May 16, 2002 at 1:59:19 PM CEST

ok, then i'll do it.

link  

 
skittleholic, May 18, 2002 at 3:56:32 AM CEST

help!

hi. i have no idea how to post. i have used blogger before, but i got tired of it. however, this is very complex for me. can someone refer me to anyone or anything? thanks.

===skittleholic===

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8550 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
November 2024
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
July
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
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)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 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)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher