How does Quora use the routing attribute in their anchor tags?
-
Most links on Quora have a 'routing' attribute that shows the type of item the link is to (question, topic, etc), and the item's id. I'd guess that Quora uses that attribute to serve links faster. How does Quora get that info on the server? Or, do they bind a click event to the anchor tag, and do some processing on the client side? i.e. <a class="question_link" href="/Who-are-good-startup-lawyers-in-digital-health" routing="q://question/(61038)" id="[...]_link" target="_blank">
-
Answer:
I'm guessing here but the routing attribute could be a URL that is understood by Quora's mobile app which may register a custom URL scheme
Haran Shivanan at Quora Visit the source
Related Q & A:
- How should I use Youtube API?Best solution by Stack Overflow
- How do I use "John et. al. 1990 " citation for more than two authors?Best solution by tex.stackexchange.com
- How can I use SSL with django?Best solution by Stack Overflow
- How do I create a digital signature and how do I use it?Best solution by support.office.com
- How do you use use your webcam on MSN messenger?Best solution by eHow old
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.