Antville Project

change your layout in a snap

I can change all my skins in under one second. If we add the feature described below to Antville, you'll also be able to do that.

Experimenting with your skins in an online blog is kind of messy; visitors get ugly or weird pages while you are in the middle of a redesign, the server has a lot of work with replacing skins and delivering the various skin editor pages again and again, and you have to wait for each page to load. That's why I like to build a skin on my local Antville, in the comfort of my home, and upload my work when I'm done. However, I have to do this skin by skin; there's no way to do that all in one go. Until now.

I just implemented a first version of a page that lets you download all skins at once, and another one that lets you upload such a dump again. This is not only useful for the purpose described above. You can also make a backup of your skins before messing with them, or copy the layout of one blog to another blog.

I use text areas as input and output gadgets; maybe it would be nicer to implement this as a file down- and upload. Maybe I'll do that later, or someone else will, but for now I leave it like that because I already wasted enough time with it today.

My alpha-quality implementation is in there:

skinfeeder (application/zip, 4 KB)

The .skin and .hac files simply have to be copied into the skinmgr prototype. The function in the .js file should probably go into skinmgr/objectFunctions.js. The skin files contain the 'user manual'. Everything else is abvious from the code :-)

What do you think?

comment    

 
tinto, March 19, 2003 at 11:25:28 AM CET

wie oft

hab ich mir sowas schon gewünscht. Wäre schön, wenn das käme.

link  


... comment
 
robert, March 19, 2003 at 11:53:31 AM CET

interesting idea

due to my current lack of time i just had a brief look at your code. just one quick'n'dirty idea: instead of building a hardcoded array containing the names of the skins to "export" you could use app.skinfiles which already contains all skins ... hmm, i hope i have some time tonight to comment more on this.

link  

 
nex, March 19, 2003 at 12:49:59 PM CET

I'll update that when I have the time

Thanks for the tip, I wasn't aware of app.skinfiles. However, the idea was to export exactly those skins that are editable in the web interface. app.skinfiles just gives me all skins, right? Anyway, I'll have a look at it.

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8577 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
December 2024
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293031
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