Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Add version and/or date_added fields to items #28

Open
dmitrizagidulin opened this issue Sep 2, 2015 · 5 comments
Open

Add version and/or date_added fields to items #28

dmitrizagidulin opened this issue Sep 2, 2015 · 5 comments

Comments

@dmitrizagidulin
Copy link

This would especially makes sense once the process for adding new items (from resources, etc) gets automated. But even before then --

Add optional 'version' field (for Starbound version) and 'date_added' field (to denote when an item was added to the nightly build) to the items list.

@MarceloAlves
Copy link
Owner

This is doable but I stopped updating from nightly a while back ago. Since it takes a good 45 minutes or so to update I just update when Stable releases happen. If the process can be fully automated then updating nightlies wouldn't be a problem.

What about items that are already there? Would their version/date just be the first time the list is generated?

@dmitrizagidulin
Copy link
Author

Yeah, hmm, the back-dating existing items would require a bit of manual work. Unless we can figure out how to reliably parse the wiki entries (specifically, the version history section). Will ponder..

@MarceloAlves
Copy link
Owner

MediaWiki has a built in export that will give you a XML of the page. Adding Special:Export in the URL gets you the data. Example: http://starbounder.org/Special:Export/Coal

But not all entries have the version listed of when they were added. I can try reaching out and seeing if they'd be willing to export that data instead of slamming the site for 4k items.

@dmitrizagidulin
Copy link
Author

Ah, yeah, an export would be brilliant. (Like they export the object tags (I assume you're using that feed to populate the tags field?))

@MarceloAlves
Copy link
Owner

The tags are included in the Starbound assets

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants