Tech Note: The LGF Pages Reboot

Integrated
LGF • Views: 30,750

The new LGF Pages re-design is now in launch mode, and the first thing you’ll notice is that it looks a lot like the rest of the site. And that’s a good thing.

The old LGF Pages index had its own design, which actually started as a coding experiment way back in the day. Now it’s completely integrated into the design of the rest of LGF.

It’s more than a design integration, though; I also lavished a lot of attention on the plumbing, the MySQL queries that manipulate the LGF Pages database tables. Many of these queries worked very well as long as the whole list of Pages wasn’t too large — but with the number of Pages approaching 300,000, those queries were becoming unacceptably slow. In the lingo, they weren’t scaleable. That’s why I had to take the LGF Pages index offline when we installed our new servers.

Now these queries are very scaleable; I’ve optimized and refactored the queries and the PHP code behind them to make this new version respond much more quickly — again, like the rest of LGF.

If you’re signed in to an LGF account, some of the stats displayed on LGF Pages indexes are now “live,” updated at 5-second intervals, including the last comment and the page views. The Twitter counter is updated too, but at 90-second intervals.

When you scroll all the way to the bottom of the list of Pages, there’s a big button labeled “Show More Pages.” If you’re so inclined you can just keep clicking this button and showing more Pages until you reach the end, or your browser explodes, whichever comes first.

(Disclaimer: LGF not responsible for exploding browsers.)

Individual authors of Pages have their own indexes, just as in the old version, but again they now appear in a style consistent with the rest of LGF. You can get to any author’s LGF Pages by clicking their username in one of their Pages. The URL for your Pages looks like this (giving you a personal LGF web address):

littlegreenfootballs.com

And… one of the main problems with the old LGF Pages index was the search function. Basically, it sucked, and I say that as the author. Mea culpa. The biggest reason it sucked was because MySQL doesn’t have FULLTEXT indexing for tables of the InnoDB type, but you don’t really care about that. All you care about, and I don’t blame you, is that it’s fast. And the old LGF Pages search feature was the opposite of fast.

The solution: I’ve been noticing for a while that Google is crawling the heck out of LGF, and LGF Pages often show up in Google search results almost immediately after being posted, so I used Google’s “Custom Search Engine” feature to set up a special tool that searches LGF Pages. To use the custom Google search, type your search terms into the field in the left sidebar labeled “Google LGF Pages…”

Google’s search is ridiculously fast. Damned near instantaneous, in fact. Check it out and see how it compares to the old LGF Pages search feature.

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2016-01-01 10:29 am PST
LGF User's Guide RSS Feeds Tweet

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal
Square Cash Shop at amazon
as an LGF Associate!
Recent PagesClick to refresh
Deaf Kaki Chumpy - African Fire Live @ Casa BertallotIscriviti al canale qui: goo.gl Facebook: facebook.comTwitter: @bertallotGoogle+ goo.glAscoltaci su: bertallot.com
Thanos
2 hours, 12 minutes ago
Views: 48 • Comments: 0 • Rating: 0
Tweets: 2 • Share to Facebook
Shares: 0
Comments: 0
: 0
King Crimson - 21st Century Schizoid Man 21st Century Schizoid Man by KIng Crimson. Filmed in Japan December 2015. An album and DVD from the 2015 tour, Radical Action to Unseat the Hold of Monkey Mind, can be purchased from dgmlive.com as well as audio downloads ...
Thanos
2 hours, 29 minutes ago
Views: 71 • Comments: 0 • Rating: 0
Tweets: 2 • Share to Facebook
Shares: 0
Comments: 0
: 0
How Donald Trump Killed the Immigration Bill With 1 Tweet (CNN)For weeks, House Republican leaders have been working behind closed doors to thread the needle on an immigration bill that could secure the support of the bulk on their conference. On Friday morning, President Donald Trump ended all that ...
Unshaken Defiance
1 day, 7 hours ago
Views: 164 • Comments: 0 • Rating: 1
Tweets: 3 • Share to Facebook
Shares: 0
Comments: 0
: 0
“Did You Even READ the Piece?” This Startup Wants to Make That Question Obsolete for Commentors Let’s be honest: Are you going to read this or skim this? In a land of feeds, tidbits, and bullet points, readers don’t often get to the end of a piece — let alone absorb each sentence along the ...
Thanos
4 days, 12 hours ago
Views: 232 • Comments: 0 • Rating: 1
Tweets: 1 • Share to Facebook
Shares: 0
Comments: 0
: 0
Young the Giant: Simplify (Official Audio) Young The Giant's official audio for their new single 'Simplify' - available now. Download / Stream 'Simplify': lnk.to Catch Young The Giant on Tour this fall with very special guest Lights!More info at: youngthegiant.com Site: youngthegiant.comFacebook: facebook.comTwitter: @youngthegiantInstagram: instagram.comYouTube: ...
Thanos
5 days, 22 hours ago
Views: 230 • Comments: 0 • Rating: 0
Tweets: 1 • Share to Facebook
Shares: 0
Comments: 0
: 0
Traveller - ‘Nobody Makes It Out’ (Live at WFUV)wfuv.org • Follow @wfuv: ow.ly Traveller performs "Nobody Makes It Out" live in Studio A. Recorded 5.9.18. Host: Alisa AliAudio: Caroline InzucchiCameras: Kristal Ho, Brian Gallagher & Kaylee KurkierewiczEditors: Kaylee Kurkierewicz & Brian Gallagher
Thanos
5 days, 22 hours ago
Views: 251 • Comments: 0 • Rating: 0
Tweets: 1 • Share to Facebook
Shares: 0
Comments: 0
: 0
Fantastic Negrito - the Duffler (Official Video) ‘The Duffler’ is taken from Fantastic Negrito's brand new album 'Please Don't Be Dead' out now. Order your copy here: fn.lnk.to Director: Freddy Macdonald Producer: Fred MacdonaldCinematographer: Sebastian KlingerEditor: Freddy MacdonaldProduction Company: Macdonald Entertainment Partners Check here for Fantastic ...
Thanos
5 days, 23 hours ago
Views: 203 • Comments: 0 • Rating: 0
Tweets: 1 • Share to Facebook
Shares: 0
Comments: 0
: 0
Facebook’s Screening for Political Ads Nabs News Sites… One ad couldn’t have been more obviously political. Targeted to people aged 18 and older, it urged them to “vote YES” on June 5 on a ballot proposition to issue bonds for schools in a district near San Francisco. ...
Thanos
1 week ago
Views: 262 • Comments: 0 • Rating: 1
Tweets: 14 • Share to Facebook
Shares: 0
Comments: 0
: 0
Stanford Prison Experiment: Why Famous Psychology Studies Are Now Being Torn Apart Sometimes pseudoscience makes it through to the text books, most often in the soft and social sciences. A new exposé based on previously unpublished recordings of Philip Zimbardo, the Stanford psychologist who ran the study, and interviews with his ...
Thanos
1 week, 2 days ago
Views: 820 • Comments: 0 • Rating: 4
Tweets: 1 • Share to Facebook
Shares: 0
Comments: 0
: 0
Goliath Season 2 - Official Trailer In Season 2 of Goliath, Billy McBride takes on a new case, and the fight spills into the streets of Los Angeles and alleys of Venice Beach.Goliath returns 6/15 on Prime Video. » Stream Goliath 6/15 on Prime Video: ...
Thanos
1 week, 2 days ago
Views: 733 • Comments: 0 • Rating: 0
Tweets: 1 • Share to Facebook
Shares: 0
Comments: 0
: 0