DeletedZimoon wrote:Sobuno, can you delete a schematic called "DELETE something" I must have made a mistake somewhere![]()
/Zimoon

Moderator: Forum Moderator
DeletedZimoon wrote:Sobuno, can you delete a schematic called "DELETE something" I must have made a mistake somewhere![]()
/Zimoon
Sobuno wrote:DeletedZimoon wrote:Sobuno, can you delete a schematic called "DELETE something" I must have made a mistake somewhere![]()
/Zimoon
I managed to fix one solely on my ownEhtyx wrote:Sobuno wrote:DeletedZimoon wrote:Sobuno, can you delete a schematic called "DELETE something" I must have made a mistake somewhere![]()
/Zimoon
Ehm.. blame me for that i think.. hehe didn't find a way to delete a shem i messed up, so i renamed it delete, lol..
Told Zimoon about it, but that doesn't mean he's to blame, hehe
I agree, no need to keep two ID's around, we use the numeric ID's for internal use, they should be fine for external use tooZimoon wrote:My suggestion is to get rid of the "old" textual swgcraft_id, since we now face so many new schematics that will have no such ID I cannot imagine a world where it will be used.
Done, you will find that little edit link mentioned above. Good luck.Akshaag wrote:No problem for me, i understood i just want to correct something that is useless nowNethertheless, if you are agreed with, i can propose my help to correct some experimental properties as a "schematic maintainer" for a short periode. Tell me how i can run as a candidate for a schematic maintainer. thank you.
Akshaag wrote:zimoon,
first of all, it seems that your resourcetree2.xml is corrupted on http://simongronlund.googlepages.com/resourcetree2.xml. Why this file will be not available on http://www.swgcraft.co.uk/dev/sendfile. ... etree2.xml ?
The resourcetree2.xml file seems to work fine here. We do have a resourcetree.xml file generated here, but it lacks information such as the caps
I started to manage some schematics, but it seems that the file schem.xml is not updated correctly because my change are not in this file.
The schem.xml file present on this site is generated twice a week at the moment so your changes should appear next week. Furthermore, we have not finalized the structure of the file yet; it may still change.
Btw, it will be great to add in the in the 'last_updated' field of the file schem.xml, the timestamp like in the status.xml file instead of DD/MM/YYYY.
The current resources file and the associated status.xml are generated once an hour and are meant to only be read by programs. This means it needs a rather precise stamp (The unix timestamp that you are talking about) and the stamp does not necessarily have to make sense to a non-developer. The schem.xml file is generated twice a week at the moment (previously it was generated once a month) and is meant to be readable by humans (At least to some extent). This means it does not require an exact timestamp, just the date, and that it is best if it makes sense to the reader.
Had the schem.xml file been generated with each change of a schematic, I would have agreed though
my last question, how to delete a schematic ?
Rename the schematic to something starting with DELETE and I will take care of it. There is no interface for deleting schematics at the moment, it has to be done directly in the database/table
thank.
In red, tooAkshaag wrote:zimoon,
first of all, it seems that your resourcetree2.xml is corrupted on http://simongronlund.googlepages.com/resourcetree2.xml. Why this file will be not available on http://www.swgcraft.co.uk/dev/sendfile. ... etree2.xml ?
[/color]
- I just downloaded it just fine and both validated it against its xsd file and for being well formed according to XML standard. In what way is it corrupt? Can it be a problem with your browser?
- I have no administration rights here at SWGCraft, hence I cannot update the XML file in a convenient way. Please have a look at the comment bottommost in the file and see that even though it is not every week there have been occasional editions every now and then
I started to manage some schematics, but it seems that the file schem.xml is not updated correctly because my change are not in this file. Btw, it will be great to add in the in the 'last_updated' field of the file schem.xml, the timestamp like in the status.xml file instead of DD/MM/YYYY.
my last question, how to delete a schematic ?
thank.
Code: Select all
URL url = new URL(getBaseURL() + schematicsXMLFilePath);
URLConnection conn = url.openConnection();
long d = conn.getLastModified();
Calendar cal = Calendar.getInstance();
cal.setTimeInMillis(d);
String xmlDate = String.format("%1$tY-%1$tm-%1$td", cal);
Users browsing this forum: No registered users and 3 guests