Web-based interface to campaign server
Moderator: Forum Moderators
Web-based interface to campaign server
Our newest developer, bruno, has developed a web-based interface to the campaign server. The interface is available at http://campaigns.wesnoth.org.
This interface also displays some new fields that bruno has made available on the campaign server, such as description, available translations, and last updated time. Campaign developers may re-upload their campaigns with these fields to make them available.
I'd like to thank bruno for his excellent work on this.
David
This interface also displays some new fields that bruno has made available on the campaign server, such as description, available translations, and last updated time. Campaign developers may re-upload their campaigns with these fields to make them available.
I'd like to thank bruno for his excellent work on this.
David
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
Just so everyone knows, you don't put "last_updated=" or anything like that in the .pbl file. It is automatically generated by the server.
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm
For information about what you should be putting in the PBL file you should check out http://www.wesnoth.org/wiki/BuildingCampaignsThePBLFile if you haven't looked at it very recently.
I have updated over the last couple of weeks to explain description, elaborate on icon, version and and author.
If you want to read more about how to communicate with the campaign server using WML (which most of you probably don't) you can read http://www.wesnoth.org/wiki/CampaignServerWML to read about the request and response WML tags and attributes.
I have updated over the last couple of weeks to explain description, elaborate on icon, version and and author.
If you want to read more about how to communicate with the campaign server using WML (which most of you probably don't) you can read http://www.wesnoth.org/wiki/CampaignServerWML to read about the request and response WML tags and attributes.
The column sizes aren't specified and are picked by your browser. Most likely your browser has to make that column wider to display the alt tags for the unretrievable images for developers that either made a mistake when they uploaded their campaign or had an icon path renamed after they were using it. There are also a couple campaigns that don't have an icon.scott wrote:Cool. The icon column should be shrunk.
I tried to contact a number of these people, but not a lot of change happened as a result. Hopefully the extra publicity will help convince people to fix their stuff.
What the alt tag is supposed to mean ?bruno wrote:The column sizes aren't specified and are picked by your browser. Most likely your browser has to make that column wider to display the alt tags for the unretrievable images for developers that either made a mistake when they uploaded their campaign or had an icon path renamed after they were using it. There are also a couple campaigns that don't have an icon.
Just use ALT="".
Culumn size should be defined to avoid a campaign to deform the whole table.
Also, rules between rows and collumns should be drawed.
It's a good interface, anyway.
-
- Retired Terrain Art Director
- Posts: 1113
- Joined: November 29th, 2003, 11:40 pm
- Location: Norway
From HTML 4.01 Specification:lwa wrote: What the alt tag is supposed to mean ?
Just use ALT="".
Culumn size should be defined to avoid a campaign to deform the whole table.
Also, rules between rows and collumns should be drawed.
It's a good interface, anyway.
alt = text [CS]
For user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the lang attribute.
The alt tag is required to comply with the standard. Using alt="" is not good.
I know "alt" semantic in HTML, but when it has no semantic in the document, it should be empty, as HTML specification tell it (§ 13.8 )frame wrote: From HTML 4.01 Specification:
alt = text [CS]
For user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the lang attribute.
The alt tag is required to comply with the standard. Using alt="" is not good.
Code: Select all
While alternate text may be very helpful, it must be handled with
care. Authors should observe the following guidelines:
* Do not specify irrelevant alternate text when including images
intended to format a page, for instance, alt="red ball" would be
inappropriate for an image that adds a red ball for decorating a
heading or paragraph. In such cases, the alternate text should be
the empty string (""). Authors are in any case advised to avoid
using images to format pages; style sheets should be used instead.
* Do not specify meaningless alternate text (e.g., "dummy text").
Not only will this frustrate users, it will slow down user agents
that must convert text to speech or braille output.
-
- Retired Terrain Art Director
- Posts: 1113
- Joined: November 29th, 2003, 11:40 pm
- Location: Norway
Yes, but then in this case this would mean a column with a header, but no content. Thats not very good either imo. Would be better to have the icon as part of the title column, then using alt="" would be perfectly fine.lwa wrote: I know "alt" semantic in HTML, but when it has no semantic in the document, it should be empty, as HTML specification tell it (§ 13.8 )
Edit: I probably should have said I think using empty alt tags in this particular case aren't quite appropriate. I see now how it could seem like I meant it universially which I of course don't
The colunm could be removed according the media using CSS (but most text only browser don't support CSS well). Anyway, a "Icon" column inframe wrote:Yes, but then in this case this would mean a column with a header, but no content. Thats not very good either imo. Would be better to have the icon as part of the title column, then using alt="" would be perfectly fine.
a text browser is meaningless. The user probably don't bother of its content.
If arbitrary long tags generate bad side effects like very long column for a small icon, if should be fixed.frame wrote:Edit: I probably should have said I think using empty alt tags in this particular case aren't quite appropriate. I see now how it could seem like I meant it universially which I of course don't
Part of the problem is that campaign designers are using broken image links. Those should be fixed. I have already tried contacting campaign owners where I could figure out their forum names and while I got several replies, there wasn't much campaign updating that happened as a result.
I feel that the icons do provide a feel for the campaigns (I think that is the whole point) and the names of the icons typically match what the icon is and makes sense to use in the alt tag for text only browsers or as a fallback when the image can't be loaded.
I feel that the icons do provide a feel for the campaigns (I think that is the whole point) and the names of the icons typically match what the icon is and makes sense to use in the alt tag for text only browsers or as a fallback when the image can't be loaded.