Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Hosting site for oxz files

General discussion for players of Oolite.

Moderators: another_commander, winston

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Hosting site for oxz files

Post by Diziet Sma »

cim wrote:
A minor point: it's not strictly required, but it's better to change the download_url for every version of the OXZ file if you're using the automatic downloader: the reason is that if you don't, someone can download version 1.7 but Oolite (with an old index) thinks it's downloading 1.6, so the download will complete and then say "failed". You'd want to make sure you were always using the permanent URL for that file version as the download_url if possible.
If the version number is made part of the filename, the download URL will automatically be different every time.

<quickly checks the QBD.. yes! it already has the version number in the name> 8) :D
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2020
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: Hosting site for oxz files

Post by maik »

I updated the sandbox wiki to allow .oxz file uploads and added this extension to mime type application/zip. I didn't touch the max upload size yet, so it is set to the default of 2MB.

For demonstration purposes I uploaded an Aegidian's Specials oxz file (just the renamed zip file, not following any format). On the OXP wiki page you can also see how to link to it, on the file's wiki page you can see how you can add new versions or delete a version (same as for images).

Note that the sandbox wiki is a snapshot from April 2012, upgraded to MediaWiki 1.19

@cim: let me know if this tests ok and what other changes you would need.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Hosting site for oxz files

Post by cim »

maik wrote:
@cim: let me know if this tests ok and what other changes you would need.
That looks like it'll work fine.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Hosting site for oxz files

Post by Norby »

maik wrote:
I like the "accessed x times" counter at bottom which reload-proof. Small problem when the proof get timeout (I do not know when) then my next visit to check the counter will increase it also. I can stay away and check say once in a month, but I think sooner or later somebody will ask for a solution to exclude checkings.
User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Re: Hosting site for oxz files

Post by Cmd. Cheyd »

I will open my site to most anyone to host OXP's and OXZ's on. Private FTP sections. I think I can have up to 50 accounts, and I have unlimited bandwidth.

Since I'm not on the forums regularly due to work, just drop me an email or PM.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Hosting site for oxz files

Post by Norby »

Are there any news about oxz hosting in wiki?

Thanks to Cheyd, the hosting of my planet textures is solved, I can recommend his excellent service. :)
But I would like to count the downloads of smaller files so I wait for the wiki.
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2020
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: Hosting site for oxz files

Post by maik »

Norby wrote:
Are there any news about oxz hosting in wiki?

Thanks to Cheyd, the hosting of my planet textures is solved, I can recommend his excellent service. :)
But I would like to count the downloads of smaller files so I wait for the wiki.
There nothing that would block us from doing that, except I haven't enabled the upload on the real wiki yet--is there some sort of consensus that this is what oxz authors want?
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Hosting site for oxz files

Post by Smivs »

maik wrote:
...is there some sort of consensus that this is what oxz authors want?
Sounds good to me :)
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Hosting site for oxz files

Post by Diziet Sma »

Works for me.. 8)
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2412
Joined: Mon May 31, 2010 11:11 pm

Re: Hosting site for oxz files

Post by Switeck »

Sounds good to me too.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Hosting site for oxz files

Post by Norby »

I think there is a full consensus here. :)
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2020
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: Hosting site for oxz files

Post by maik »

I plan to enable wiki uploads for OXZ files this week.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Hosting site for oxz files

Post by Smivs »

maik wrote:
I plan to enable wiki uploads for OXZ files this week.
Excellent. Thanks, Maik. :)
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2020
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: Hosting site for oxz files

Post by maik »

OXZ uploads are enabled now. The size is still limited to 2MB but I need Dylan to change it and asked him to kindly do so.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Hosting site for oxz files

Post by Norby »

maik wrote:
OXZ uploads are enabled now.
Thank you, it is working! :)

The download link contain a random part (I got images/f/f3 now), which we must insert into the manifest.plist within the oxz so an instant update is needed after every upload. It is possible to modify the wiki code to save oxzs into a specific directory to avoid this? Not a problem if not, just an idea.
Post Reply