CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 141 users online: 8 members, 101 guests and 32 bots.
Members: adrfcs, alanclem, ElectronicsGeek, Hemenia, juju2143, ordelore.
Bots: VoilaBot (3), Spinn3r (2), Magpie Crawler (3), VoilaBot (6), Googlebot (18).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
Author Message
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55882
Location: Earth, Sol, Milky Way

Posted: 15 May 2011 03:30:50 pm    Post subject:

elfprince13 wrote:
does /pN turn into ?p=N#N
It did, but then saxjax p=? links were getting double-#ed. Therefore, right now saxjax adds the # and the cemete.ch .htaccess does not. I'll change that today, though, because "http://cemete.ch/p150358" is a lot cleaner than "http://cemete.ch/p150358#150358".
_________________


Back to top
comicIDIOT


Guru


Joined: 01 May 2006
Posts: 5140
Location: SFBA, California

Posted: 15 May 2011 04:23:58 pm    Post subject:

swivelgames wrote:
Plans for files, user ids, usernames, and generated URLs in the near future? Smile
I hope so!
_________________


-Alex
Back to top
elfprince13


OVER NINE THOUSAND!


Joined: 23 May 2005
Posts: 10247
Location: A galaxy far far away......

Posted: 15 May 2011 04:31:43 pm    Post subject:

Don't forget to add the error pages
_________________
StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative


Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55882
Location: Earth, Sol, Milky Way

Posted: 15 May 2011 04:43:55 pm    Post subject:

Elfprince, thanks. Smile Swivel/comicIDIOT, would you guys mind tabulating what I'm missing, so I can implement them now?
_________________


Back to top
comicIDIOT


Guru


Joined: 01 May 2006
Posts: 5140
Location: SFBA, California

Posted: 15 May 2011 04:45:42 pm    Post subject:

I'll let swivel make the post, then I'll just edit his to include what I'm thinking, to avoid having to sort through two posts (possibly separated by posts).
_________________


-Alex
Back to top
TheStorm


NOU!


Joined: 26 Mar 2007
Posts: 2375

Posted: 15 May 2011 04:53:48 pm    Post subject:

Do we have an API for creating the random ones yet? That way I could move DCS over from using tinyurl to our new cemete.ch shortener.
_________________

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

<Michael_V> or create a Borg collective and call it The 83+
<Michael_V> Lower your slide cases and prepare to be silent linked. Memory clears are futile.
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55882
Location: Earth, Sol, Milky Way

Posted: 15 May 2011 04:57:16 pm    Post subject:

Well, here's what's done:
:: http://cemete.ch/tNNN: topic
:: http://cemete.ch/pNNN: post
:: http://cemete.ch/fNNN: forum category
:: http://cemete.ch/nNNN: news article
:: http://cemete.ch: homepage

What's not done:
:: http://cemete.ch/dcs/BLAH: Shortcut to http://dcs.cemetech.net/index.php?title=BLAH
:: http://cemete.ch/uNNNN: user number NNNN's profile
:: http://cemete.ch/u/NAME: user named NAME's profile
:: http://cemete.ch/prNNNN: project NNNN

Others?
_________________


Back to top
comicIDIOT


Guru


Joined: 01 May 2006
Posts: 5140
Location: SFBA, California

Posted: 15 May 2011 05:00:26 pm    Post subject:

Nothing on my end. Once the API is implemented, can we have variables that replace the url's? I believe that was already suggested.
_________________


-Alex
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55882
Location: Earth, Sol, Milky Way

Posted: 15 May 2011 05:01:20 pm    Post subject:

comicIDIOT wrote:
Nothing on my end. Once the API is implemented, can we have variables that replace the url's? I believe that was already suggested.
Most definitely certainly. Oh, and I need to add the 404/403 pages.
_________________


Back to top
TheStorm


NOU!


Joined: 26 Mar 2007
Posts: 2375

Posted: 15 May 2011 05:09:42 pm    Post subject:

OK well I can see about getting the dcs wiki to use the new sortened urls once that is implemented but I had thought we wanted to implement just a generic URL shortener for other url's? Or is that no longer the plan?
_________________

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

<Michael_V> or create a Borg collective and call it The 83+
<Michael_V> Lower your slide cases and prepare to be silent linked. Memory clears are futile.
Back to top
Deep Thought


Expert


Joined: 11 Mar 2010
Posts: 740
Location: The Universe

Posted: 15 May 2011 05:11:29 pm    Post subject:

How about file downloads?
_________________
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55882
Location: Earth, Sol, Milky Way

Posted: 15 May 2011 05:13:35 pm    Post subject:

TheStorm wrote:
OK well I can see about getting the dcs wiki to use the new sortened urls once that is implemented but I had thought we wanted to implement just a generic URL shortener for other url's? Or is that no longer the plan?
Just to save the three bytes of the "net"? I guess I might as well add that too.

Edit: Implemented the following:

:: http://cemete.ch/dcs/BLAH: Shortcut to http://dcs.cemetech.net/index.php?title=BLAH
:: http://cemete.ch/uNNNN: user number NNNN's profile
:: http://cemete.ch/u/NAME: user named NAME's profile
:: http://cemete.ch/prNNNN: project NNNN
:: 404 and 403 error pages
:: Arbitrary URL rewriting from http://cemete.ch/* to http://www.cemetech.net/* for anything that doesn't match any other rule
_________________


Back to top
elfprince13


OVER NINE THOUSAND!


Joined: 23 May 2005
Posts: 10247
Location: A galaxy far far away......

Posted: 15 May 2011 08:17:12 pm    Post subject:

KermMartian wrote:
TheStorm wrote:
OK well I can see about getting the dcs wiki to use the new sortened urls once that is implemented but I had thought we wanted to implement just a generic URL shortener for other url's? Or is that no longer the plan?
Just to save the three bytes of the "net"? I guess I might as well add that too.

Edit: Implemented the following:

:: http://cemete.ch/dcs/BLAH: Shortcut to http://dcs.cemetech.net/index.php?title=BLAH

Why not dcs.cemete.ch?
_________________
StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative


Back to top
swivelgames


Transient Squash


Joined: 27 Sep 2005
Posts: 2345
Location: On the planet called Earth

Posted: 16 May 2011 01:08:59 am    Post subject:

Oh that's a good idea, elfprince13 Razz

Also, uhm, Kerm...
Typing in something like cemete.ch/useless/url will redirect to *.php?mode=viewprofile&u=seless/url

I assume there are no URLs starting with u, but shouldn't it look for u\/(.+) instead of u(.+)? (or whatever it is you have written in there, but you get the point Razz )

Also, as mentioned previously by comicIDIOT, and recently by myself in SAX, SAX is currently generating TinyURLs for cemete.ch URLs. Shouldn't it only generate TinyURLs for non-cemete.ch URLs?


Last edited by swivelgames on 16 May 2011 01:10:43 am; edited 1 time in total
Back to top
comicIDIOT


Guru


Joined: 01 May 2006
Posts: 5140
Location: SFBA, California

Posted: 16 May 2011 01:10:26 am    Post subject:

swivelgames wrote:
Also, as mentioned previously by comicIDIOT, and recently by myself in SAX, SAX is currently generating TinyURLs for cemete.ch URLs. Shouldn't it only generate TinyURLs for non-cemete.ch URLs?


Photo Proof! Cannotbhaxed

I think outside url's were going to be through cemete.ch as well, hence the random URL thing. But I could be wrong.
_________________


-Alex
Back to top
swivelgames


Transient Squash


Joined: 27 Sep 2005
Posts: 2345
Location: On the planet called Earth

Posted: 16 May 2011 01:13:50 am    Post subject:

comicIDIOT wrote:
Photo Proof! Cannotbhaxed
pwnt.

comicIDIOT wrote:
I think outside url's were going to be through cemete.ch as well, hence the random URL thing. But I could be wrong.
Jonimus just mentioned this as well. Will we be sticking with tinyurl? or will we be implementing our own url shortener generator, with APIs and such?
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55882
Location: Earth, Sol, Milky Way

Posted: 16 May 2011 01:26:23 am    Post subject:

(Reposted from front page news)

Due to the ingenuity and quick thinking of longtime Cemetech member Swivelgames, Cemetech now has its very own URL shortener, Cemete.ch. Thanks to the lucky coincidence of Switzerland's .ch domain, we were able to grab this domain last week, and thanks to Swivelgames' generosity, we were able to grab it quickly. As detailed in the attached topic, members and staff quickly suggested a variety of helpful URL shortcuts that the cemete.ch domain could facilitate; the ones implemented thus far:

:: cemete.ch - The Cemetech homepage, http://www.cemetech.net.
:: cemete.ch/t6244 - Redirect URLs with /tNNN to the relevant Cemetech forum topic numbered NNN.
:: cemete.ch/p150521 - Redirect URLs with /pNNN to the relevant Cemetech post numbered NNN.
:: cemete.ch/f9 - Redirect URLs with /fNN to the Cemetech forum category numbered NN.
:: cemete.ch/u2 - Redirect URLs with /uUSERID to the Cemetech profile page of the user with that ID, and /uUSERNAME to the profile page of the user with that username.
:: cemete.ch/pr33 - Redirect URLS with /prNN to the project page containing that Cemetech project, ID number NN.
:: cemete.ch/dcs/SDK - Anything ending /dcs/* gets redirected to the relevant Doors CS wiki page.
:: cemete.ch/n457 - URLs of the form /nNNN redirect to the news article numbered NNN.
:: Any other cemete.ch/* URL is redirected to http://www.cemetech.net/*. Several users are currently lobbying for a Cemetech-specific tinyurl-like service to redirect to any url using the domain.

I hope that you enjoy this new service, report any bugs you see as it is rolled out to SAX, saxjax, the @cemetech Twitter feed, and other areas of Cemetech, and suggest any new features that occur to you!
_________________


Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55882
Location: Earth, Sol, Milky Way

Posted: 16 May 2011 12:53:57 pm    Post subject:

*bump* I'm not sure if anyone noticed that front-page news article. Very Happy Anyway, to answer all of the unanswered questions in this topic:

:: dcs.cemete.ch: I don't think I can add subdomains to add-on domains...? Edit: WHOA, I actually can! Awesome!
:: Regarding the /uNNNN, I'm not too worried about potential URLs starting with u.
:: About the general URL redirection, I don't know if I feel like the database overhead of remembering all those URLs. Sad
_________________


Back to top
comicIDIOT


Guru


Joined: 01 May 2006
Posts: 5140
Location: SFBA, California

Posted: 16 May 2011 01:38:28 pm    Post subject:

Just remember them for seven days or so. They'd be used almost strictly by saxjax, so keeping them for infinity would be pointless.
_________________


-Alex
Back to top
elfprince13


OVER NINE THOUSAND!


Joined: 23 May 2005
Posts: 10247
Location: A galaxy far far away......

Posted: 16 May 2011 01:59:07 pm    Post subject:

Woot, re: dcs.cemete.ch. Also, why on earth is Switzerland .ch?

KermMartian wrote:

:: cemete.ch/u2 - Redirect URLs with /uUSERID to the Cemetech profile page of the user with that ID, and /uUSERNAME to the profile page of the user with that username.

Typo?
_________________
StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative


Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page Previous  1, 2, 3, 4  Next
» View previous topic :: View next topic  
Page 3 of 4 » All times are GMT - 5 Hours

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.047730 seconds.