Guide URLs

Got an idea for a site feature, a suggestion for an article, or spotted an error we made, feel free to post it here.
Guests can post here!

Guide URLs

Postby Trypha » Mon Sep 30, 2013 12:05 am

I'm sure I'm not the only one who preferred the old-style of URLs to the guides, which were less descriptive but ultimately much shorter. I'm not asking for the whole site to be redesigned but would it be terribly hard to incorporate a URL shortener for each guide, perhaps near the form to choose the item database? It will just make things much less obnoxious when pasting into ingame chat. Thank you!
Trypha
 
Posts: 5
Location: US

Re: Guide URLs

Postby Llie » Mon Sep 30, 2013 2:32 am

FYI: URLs can be shortened as follows:

Take this URL for instasnce:

Code: Select all
http://www.ao-universe.com/index.php?id=14&mid=8&site=AO-Universe%2FKnowledge%2FClassic+AO%2FGameplay+Guides%2F&pid=496


You can delete the entire "&site=" clause all the way to the next ampersand so that the URL shortens to:

Code: Select all
http://www.ao-universe.com/index.php?id=14&mid=8&pid=496


The only difference is that the guide will not include the enclosing directories that leads to that guide from the main guides page.
Image
User avatar
Llie
AOU Content Editor
 
Posts: 424

Re: Guide URLs

Postby Demoder » Sat Oct 05, 2013 3:00 am

Llie wrote:FYI: URLs can be shortened as follows:
(...)
The only difference is that the guide will not include the enclosing directories that leads to that guide from the main guides page.


The shortest format of guide links seems to be
Code: Select all
http://ao-universe.com/?id=14&pid=496
Image
User avatar
Demoder
AOU 3rd Party Developer
 
Posts: 206

Re: Guide URLs

Postby Trypha » Mon Oct 07, 2013 5:36 am

Thanks for the info :) Looks like a decent regex could automatically trim it out. If it's too much work for you guys (I know you must be very busy!) maybe a Chrome extension or something could do it.
Trypha
 
Posts: 5
Location: US

Re: Guide URLs

Postby Silvana » Mon Oct 07, 2013 6:20 am

Trypha wrote:Thanks for the info :) Looks like a decent regex could automatically trim it out. If it's too much work for you guys (I know you must be very busy!) maybe a Chrome extension or something could do it.


It's more that the long version includes more information.

Like if you go in to a guide manually, you'll see at the top something like "AO Universe > Knowledge > Expansion Name > Section of said expansion". Such as "AO Universe > Knowledge > Classic AO > Daily Missions". Without the extra info that doesn't show up properly. So that's what the extra info does. Generally most people know that info, but it can be helpful if you need to know exactly where in the game and/or where on the site it is if you need to pull it up again later :)
Image
User avatar
Silvana
AOU Site Manager
 
Posts: 1773
Location: Jobe Harbor

Re: Guide URLs

Postby Khuri » Wed Oct 23, 2013 9:13 am

Hi Trypha,

if you open a guide now you'll find a "Quicklink"-input now in the top left box. It gives you something like this:
http://www.ao-universe.com/guides/170

Also, as a sideproduct, linking to a guide without supplying the "mid"-variable is now optional, the resulting page looks the same.
User avatar
Khuri
AOU Programmer/Coder
 
Posts: 1783
Location: Germany

Re: Guide URLs

Postby Silvana » Wed Oct 23, 2013 9:34 am

:top:
Image
User avatar
Silvana
AOU Site Manager
 
Posts: 1773
Location: Jobe Harbor

Re: Guide URLs

Postby Trypha » Mon Nov 18, 2013 4:20 pm

This is so awesome, thank you so much!
Trypha
 
Posts: 5
Location: US


Return to Feedback - Open Forum

Who is online

Users browsing this forum: No registered users and 4 guests