Displaying 1 to 7 from 7 results

speakingurl - Generate a slug – transliteration with a lot of options

  •    Javascript

Generate a slug with a lot of options; create a so-called Semantic URL or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' from a string. This module aims to transliterate the input string.

instagram-id-to-url-segment - Convert Instagram post IDs into Instagram links, algorithmically

  •    CoffeeScript

Instagram has 2 types of IDs that they use for their posts. One is used in the URLs (it looks like 5n7dDmhTr3) and the other is used internally in their undocumented API (it looks like 1038059720608660215). I didn't think that they would maintain 2 unrelated IDs for each post, just for the purpose of a shorter URL, so I investigated whether or not they were related. It turns out you can convert between them pretty easily (especially in languages where we don't represent integers as floats - like Python).

slugworth - Simple slug functionality for your ActiveRecord objects

  •    Ruby

After you include the Slugworth module, all you need to do is declare what method will be used to create the slug. The method passed to slugged_with will then be parameterized.

d3-history - proper URL bar history for D3.js

  •    Javascript

d3.history is a plugin for D3.js which adds simple support for deep-linking and URLs based on the user interface state. It automatically updates the URL bar through the HTML5 History API as you use the d3.dispatch event listening utility. If you use NPM, npm install d3-history. Otherwise, download the latest release.

custom-post-type-permalinks - Edit the permalink of custom post type !

  •    PHP

Edit the permalink of custom post type. Custom Post Type Permalinks allow you edit the permalink structure of custom post type.