by Lam Thuy Vo · 21 Nov 2019 · 237pp · 65,794 words
on the web page!) and press CTRL-F on Windows, or COMMAND-F on Mac. A search bar should appear in the inspector window. Enter permalink-container into the search bar and press ENTER. You should be taken to a div class that highlights just the single tweet. Now you can
…
see that the tweet consists of a bunch of code nested inside a <div> tag that’s been assigned the class permalink-container. Notice that this code is made up of tags and classes like the simple HTML examples we’ve covered so far. Although real website
…
of code per tweet!) version of the tweet from Figure 1-8. ➊<div class="permalink-container permalink-container--withArrows"> <div role="main" class="permalink light-inline-actions stream-uncapped original-permalink-page"> <div class="permalink-inner permalink-tweet-container"> ➋<div class="tweet permalink-tweet js-actionable-user js-actionable-tweet js-original-tweet has-cards with-social
…
-proof has-content logged-in no-replies js-initial-focus focus" data-associated- tweet-id="920092249765175296" data-tweet-id="920092249765175296" data-item-id="920092249765175296" ➌data-permalink-path="/BuzzFeed/ status/920092249765175296" data-conversation-id="920092249765175296" data- tweet-nonce="920092249765175296-f30dd53d-6fe8-4553-9224-69186d43d82c" data-tweet-stat-initialized="true" data-screen-name
…
","emojified_text_as_html& quot;:"BuzzFeed"}}]" data-disclosure-type="" data-has-cards="true" tabindex="0"> <div class="content clearfix"> <div class="permalink-header"> <a class="account-group js-account-group js-action- profile js-user-profile-link js-nav" href="/BuzzFeed" data-user-id="5695632"> <img class
…
at first glance, but you can make sense of it by looking at it piece by piece. For example, the <div> tag with the class permalink-container is the HTML tag that encases the entire tweet ➊. Nested within that tag is a <div> with the class tweet ➋ and some information that
…
name like data-follows-you, which tells the browser whether the owner of the tweet is following your Twitter account. Other information, like the data-permalink-path ➌, has an opaque name you’ll need to figure out through some detective work. In this case, the data
…
-permalink-path is the link that goes at the end of the tweet’s https://twitter.com/ URL. At the end of this code snippet is
…
_media_domain', 'is_self', 'is_video', 'link_flair_css_class', 'link_flair_text', 'locked', 'media', 'media_embed', 'name', 'num_comments', 'over_18', 'parent_whitelist_status', 'permalink', 'pinned', 'post_hint', 'preview', 'quarantine', 'retrieved_on', 'saved', 'score', 'secure_media', 'secure_media_embed', 'selftext', 'spoiler', 'stickied', 'subreddit', 'subreddit_id', 'subreddit_type', 'suggested_sort', 'thumbnail
by Antonio Cangiano · 15 Mar 2012 · 315pp · 85,791 words
traffic. This option is selected by default, so unless you unchecked it during the WordPress setup process, you should be safe. Permalinks Settings Click Permalinks and you’ll be presented with Permalinks Settings. What we’ll change in this section is going to be absolutely crucial from an SEO standpoint, so do not
…
skip this important step. The term permalink is used to indicate the permanent URL of your posts. By default, WordPress will generate permalinks that have the following structure: http://yoursitename.com/?p=ID, where ID is the numeric identifier of
…
deal of weight to the content of your URL. For example, if a user is searching for “CoffeeScript tips” in Google, a post with a permalink including /ten-coffeescript-tips will appear highly relevant to the user’s query. In fact, it contains the target keywords and little else. If the
…
located at /?p=42, Google would determine your post’s relevance based solely on other factors, such as content and incoming links. Regardless of your permalink structure, search engines will use plenty of other indicators to figure out the relevance and authority of your pages. It just so happens that the
…
keyword density of your URLs is very important, so leaving this out would be foolish. (The portion of the permalink that comes after the domain name is also known as the slug.) Plenty of blogs, even commercial ones, make this mistake. Since it’s such
…
low-hanging fruit, change the permalink structure right away. To do so, you can select “Day and name” or “Month and name” or opt for a custom structure such as /%postname
…
%/. These will create permalinks that include the title of your post in the URL. Most SEO experts would opt for the last choice. Doing so has the advantage of
…
-party commenting system. Thankfully the built-in commenting system is excellent and integrates with visitors’ Google, LiveJournal, WordPress.com, TypePad, Open ID, and other accounts. Permalinks are SEO-friendly in Blogger by default. You are not able to, nor do you need to, install any of the other WordPress plugins listed
…
SEO It’s important to ensure that your blog is properly indexed and evaluated by search engines. In the previous chapter we saw a new permalink structure that will greatly aid your blog in being able to rank better. We also briefly mentioned a couple of SEO plugins. In this section
…
are not fond of it either. Regardless of Google’s views, there is no point in having the same post indexed under different URLs (the permalink and the Category page, for example). When you are done, click Update Options to save these changes. Thanks to Platinum SEO, whenever you create a
by Jeff Forcier
models.py, and aside from a single change we are making later on, it’s complete. Note the get_absolute_url methods are using the @permalink decorator, which is covered toward the end of the chapter. class Item(models.Model): name = models.CharField(max_length=250) description = models.TextField() class Meta
…
: ordering = [‘name’] def __unicode__(self): return self.name @permalink def get_absolute_url(self): return (‘item_detail’, None, {‘object_id’: self.id}) class Photo(models.Model): item = models.ForeignKey(Item) title = models.CharField(max
…
=100) image = models.ImageField(upload_to=’photos’) caption = models.CharField(max_length=250, blank=True) class Meta: ordering = [‘title’] def __unicode__(self): return self.title @permalink def get_absolute_url(self): return (‘photo_detail’, None, {‘object_id’: self.id}) class PhotoInline(admin.StackedInline): model = Photo Preparing for File Uploads class ItemAdmin
…
obvious name defined.These names can be referenced with the {% url %} templatetag, as we see next in the templates section, as well as with the permalink decorator that wraps get_absolute_url, such as: class Item(models.Model): name = models.CharField(max_length=250) description = models.TextField() class Meta: ordering = [‘name
…
’] def __unicode__(self): return self.name @permalink def get_absolute_url(self): return (‘item_detail’, None, {‘object_id’: self.id}) The permalink decorator expects its wrapped function to return a three-tuple consisting of the URL name, a list of
…
_CHOICES, default=1) created = models.DateTimeField(default=datetime.datetime.now) modified = models.DateTimeField(default=datetime.datetime.now) class Meta: ordering = [‘modified’] verbose_name_plural = “stories” @permalink def get_absolute_url(self): return (“cms-story”, (), {‘slug’: self.slug}) class StoryAdmin(admin.ModelAdmin): list_display = (‘title’, ‘owner’, ‘status’, ‘created’, ‘modified’) search_fields = (‘title
…
the Meta inner class.This keeps our model from showing up in the admin app with the incorrect name of “Storys.” Finally, we have a permalinked get_absolute_url method, first mentioned in Chapter 7,“Photo Gallery.” 187 188 Chapter 8 Content Management System Imports All we need to import, besides
…
the usual django.db.models (and an associated permalink decorator function we explain next), is the datetime module (which we use for our created and modified fields) and the User model that comes with
…
the Django admin module, used to register our models with the admin app. import datetime from django.db import models from django.db.models import permalink from django.contrib.auth.models import User from django.contrib import admin Like the Flatpages app, you might find the User model lacking in certain
…
registers our model with the admin and sets some list-related admin options. import datetime from django.db import models from django.db.models import permalink from django.contrib import admin class Paste(models.Model): “““A single pastebin item””” SYNTAX_CHOICES = ( (0, “Plain”), (1, “Python”), (2, “HTML”), (3, “SQL”), (4, “Javascript
…
, blank=True) class Meta: ordering = (‘-timestamp’,) Creating the Templates def __unicode__(self): return “%s (%s)” % (self.title or “#%s” % self.id, ➥self.get_syntax_display()) @permalink def get_absolute_url(self): return (‘django.views.generic.list_detail.object_detail’, None, {‘object_id’: self.id}) class PasteAdmin(admin.ModelAdmin): list_display = (‘__unicode
by Eric Enge, Stephan Spencer, Jessie Stricchiola and Rand Fishkin · 7 Mar 2012
, etc.) Blogs present some interesting duplicate content challenges. Blog posts can appear on many different pages, such as the home page of the blog, the permalink page for the post, date archive pages, and category pages. Each instance of the post represents a duplicate of the other instances. Few publishers attempt
…
to address the presence of the post on the home page of the blog and also at its permalink, and this is common enough that it is likely that the search engines deal reasonably well with it. However, it may make sense to show
…
into subcategories, and so on. Paraphrasable excerpts Duplicate content issues are exacerbated on dynamic sites such as blogs when the same content is displayed on permalink pages, category pages, archives-by-date pages, tag pages, and the home page. If your CMS offers the capability, crafting unique content for the excerpt
…
and having that content display on all locations except for the permalink page will help strengthen your permalink page as unique content. Breadcrumb navigation Verify that your CMS allows you to implement breadcrumb (drill-down) navigation. This is great for
…
separate redirect just for the blog. This has to be handled not just for the home page, but also for all internal pages (e.g., permalink pages). Each URL must redirect to the corresponding URL on the www version. If you change from one blog platform to another one, the URL
…
it as much as you can. Here are some specifics: Make the post’s title a link to the permalink page. You do not want your only link to the post to say “Permalink.” Use a tool such as Open Site Explorer (http://www.opensiteexplorer.org) or Majestic SEO (http://www.majesticseo
by Ernie Chan · 17 Nov 2008
York Times, Febrary 21. Available at: http://www.nytimes.com/2008/ 02/21/business/worldbusiness/21bank.html?ex=1361336400&en=cf84f377 6a877eac&ei=5124&partner=permalink&exprod=permalink. Cover, Thomas. 1991. “Universal Portfolios.” Mathematical Finance 1(1): 1–29. Duhigg, Charles. 2006. “Street Scene; A Smarter Computer to Pick Stock.” New York
…
Dust.” New York Times, December 17. Available at: www.nytimes.com/ 2007/12/17/technology/17chip.html?ex=1355634000&en=a81769355deb79 53&ei=5124&partner=permalink&exprod=permalink. Nielsen, Steen, and Jan Overgaard Olesen. 2000. “Regime-Switching Stock Returns and Mean Reversion.” Working Paper 11–2000. Department of Economics, Copenhagen Business School
…
the Radar.” New York Times, March 2. Available at www.nytimes.com/2008/ 03/02/business/02view.html?ex=1362286800&en=da9e48989b6f937a&ei= 5124&partner=permalink&exprod=permalink. Taleb, Nassim. 2007. The Black Swan: The Impact of the Highly Improbable. Random House. Thaler, Richard. 1994. The Winner’s Curse. Princeton, NJ: Princeton
by Brenda Jin, Saurabh Sahni and Amir Shevat · 28 Aug 2018
Scope 200 OK Array of $file resources: read include_deleted (bool) [ default false { "id": $id, "name": string, "date_added": $timestamp, "last_updated": $timestamp, "size": int, "permalink": $uri, "is_deleted": bool limit (int) default 100, Max 1000 cursor (string) default null last_updated_after (timestamp): default null } ] GET 200 OK files/:id
…
Event Payload OAuth scope file_added { read "id": $id, "resource_type": "file", "event_type": "added", "name": string, "date_added": $timestamp, "last_updated": $timestamp, "size": int, "permalink": $uri, "notes": array <file_notes>, "uri": $uri } file_changed { read "id": $id, "resource_type": "file", "event_type": "changed", "name": string, "date_added": $timestamp, "last_updated
…
": $timestamp, "size": int, "permalink": $uri, "notes": array <file_notes>, "uri": $uri } file_removed { read "id": $id, "resource_type": "file", "event_type": "removed", "name": string, "date_added": $timestamp, "last_updated
…
": $timestamp, "size": null, "permalink": null, "notes": null, "uri": null } Notice that in this example there are interesting decisions to be made about how to note the type of change
…
to debug and inspect endpoints with the browser. This scheme should not be used, however, if you’re not ready to support these endpoints as permalinks, because the pattern implies a certain level of resource permanence in the REST para‐ digm. Finally, if you elect to use URI components to version
by Mark Bauerlein · 7 Sep 2011 · 407pp · 103,501 words
live Web are not just the pages, but the links. A link to a weblog is expected to point to a perennially changing page, with “permalinks” for any individual entry, and notification for each change. An RSS feed is thus a much stronger link than, say, a bookmark or a link
…
parents. But RSS is only part of what makes a weblog different from an ordinary Web page. Tom Coates remarks on the significance of the permalink:It may seem like a trivial piece of functionality now, but it was effectively the device that turned weblogs from an ease-of-publishing phenomenon
…
post on someone else’s site and talk about it. Discussion emerged. Chat emerged. And—as a result—friendships emerged or became more entrenched. The permalink was the first—and most successful—attempt to build bridges between weblogs. In many ways, the combination of RSS and
…
permalinks adds many of the features of NNTP, the Network News Protocol of the Usenet, onto HTTP, the Web protocol. The “blogosphere” can be thought of
by Jeff Jarvis · 15 Feb 2009 · 299pp · 91,839 words
longer the publication or the page, with their old-media presumptions, but the blog post, which usually contains a discrete idea. Each post has a permalink, an address where it should be found forever so it can be linked to from anywhere. Hourihan realized that the
…
permalink was both a means of organizing information and a way to build social networks on top of our distributed conversations. That is what happened when
…
content inside fancy content management systems that stow it away in databases Google can’t get to. Give everything you publish a permanent address—a permalink—so it can attract and accumulate more traffic and links and so Google has a place to which it can reliably send the people looking
by Jenifer Tidwell · 15 Dec 2010
-time and infrequent users, it removes some of the burden of learning the site. Figure 3-8. Clear entry points Bookmarks Bookmarks (Figure 3-9), permalinks, deep links, and Deep-linked State are all ways for a user to conveniently navigate to a point of his choice, anytime he wants, even
…
application state, thus saving time and work. It behaves like a “deep link” directly into a piece of content on a conventional site—or a permalink to a blog entry—in the sense that you end up with a URL pointing directly to the desired content. But it can be more
…
complex than a permalink, because it can capture both application state and content position. This pattern is useful for saving a state that the user might want to re
by Jenny Odell · 8 Apr 2019 · 243pp · 76,686 words
.html. 56. Brandon Walker, “Non CS reaccs only,” Facebook post in Stanford Memes for Edgy Trees, July 2, 2018: https://www.facebook.com/groups/StanfordMemes/permalink/2299623930064291/. 57. Martin Altenburg, “Oldie but a goodie,” Facebook post in Stanford Memes for Edgy Trees, August 28, 2018: https://www.facebook.com/groups/StanfordMemes
…
/permalink/2405197476173602/. 58. Julie Liu, “when you get your summer internship and celebrate committing yourself to being yet another cog in the vast capitalist machine,” Facebook
…
post in UC Berkeley Memes for Edgy Teens, June 16, 2018: https://www.facebook.com/groups/UCBMFET/permalink/2135605103384176/. 59. Malcolm Harris, Kids These Days: Human Capital and the Making of Millennials (New York: Little, Brown & Company, 2017), 83. 60. Ibid., 86. 61
by Miguel Grinberg · 12 May 2014 · 420pp · 61,808 words
by Megan Kimble · 2 Apr 2024 · 430pp · 117,211 words
by Eric Schmidt and Jared Cohen · 22 Apr 2013 · 525pp · 116,295 words
by Christian Crumlish and Erin Malone · 30 Sep 2009 · 518pp · 49,555 words
by Joshua Porter · 18 May 2008 · 201pp · 21,180 words
by Anu Bradford · 25 Sep 2023 · 898pp · 236,779 words
by Richard Beck · 2 Sep 2024 · 715pp · 212,449 words
by Ananyo Bhattacharya · 6 Oct 2021 · 476pp · 121,460 words
by Michael Snoyman · 22 Apr 2012 · 485pp · 74,211 words
by Ben Smith · 2 May 2023
by Lonely Planet · 1,166pp · 301,688 words
by Jimmy Soni · 22 Feb 2022 · 505pp · 161,581 words
by Mike Isaac · 2 Sep 2019 · 444pp · 127,259 words
by Dariusz Jemielniak · 13 May 2014 · 312pp · 93,504 words
by Tyler Cowen · 24 Jan 2011 · 76pp · 20,238 words
by Jon Hicks · 23 Jun 2011
by Ellen Ruppel Shell · 22 Oct 2018 · 402pp · 126,835 words
by Pete Warden · 15 Feb 2011 · 39pp · 4,665 words
by Adam Grant · 2 Feb 2016 · 410pp · 101,260 words
by Rachel Botsman and Roo Rogers · 2 Jan 2010 · 411pp · 80,925 words
by Hannah Fry · 17 Sep 2018 · 296pp · 78,631 words
by Julia Angwin · 25 Feb 2014 · 422pp · 104,457 words
by Gabriella Coleman · 4 Nov 2014 · 457pp · 126,996 words
by Bruce Nussbaum · 5 Mar 2013 · 385pp · 101,761 words
by Nir Eyal · 26 Dec 2013 · 199pp · 43,653 words
by Peter Gutmann
by Adrian Hon · 14 Sep 2022 · 371pp · 107,141 words
by Tripp Mickle · 2 May 2022 · 535pp · 149,752 words
by Susan Linn · 12 Sep 2022 · 415pp · 102,982 words
by Bench Ansfield · 15 Aug 2025 · 366pp · 138,787 words
by Megan Greenwell · 18 Apr 2025 · 385pp · 103,818 words
by Beth Macy · 4 Mar 2019 · 441pp · 124,798 words
by Tom Baldwin and Marc Stears · 24 Apr 2024 · 357pp · 132,377 words