Lesson ID Redirect

John
August 08, 2007 at 08:08 AM posted in General Discussion

I don't know if you guys have noticed, but the new ChinesePod Dictionary uses a lesson redirect like this:

http://chinesepod.com/lesson-redirect-v3?lesson=0441

The last number is the V3 ID (the ID number we've been using since V3). So if you just change that number to whatever lesson you're looking for, you can jump to it instantly. (You can't use it for Extra content, though, and you can't include the alpha prefix (A, B, C, or whatever).)

We're working on an easier way to jump to a lesson ID, but in the meantime, this will work if you need it.

If you use Firefox, there's another thing you can do to make it even easier to jump to a specific lesson ID. Save a ChinesePod page to your bookmarks, then find it in your bookmarks and right-click it. From that menu, choose "Properties."

Edit the bookmark properties as so:

Name: ChinesePod Lesson ID

Location: http://chinesepod.com/lesson-redirect-v3?lesson=%s

Keyword: cpid

Description: (anything) 

(The only part of that you can't change is the Location.)

After you click "OK" to save your changes, you can use your new shortcut.

In the browser location bar (that's where you type website addresses), type in:

cpid 0500

It should take you directly to the lesson page for lesson B0500, "Elementary - Traveling around China."

Try it with different numbers. Easy!

You can make it even easier if you want to change "cpid" to something even shorter. 

Profile picture
goulnik
December 05, 2007 at 10:11 AM

my script works too : http://goulnik.com/cpod/direct/

Profile picture
AuntySue
December 05, 2007 at 09:46 AM

Hey! I saw that thing up your sleeve!

One of you is saying ?lesson=

and one of you is saying ?v3id=

and you're both using 0 to make four digits, no that didn't distract the audience from watching your hands.

So who's got the rabbit now, and is that only a silk scarf up your sleeve?

Profile picture
trevelyan
December 05, 2007 at 12:55 AM

Try:

http://chinesepod.com/lesson-redirect?v3id=0700

-remember to include the first "0" for any lessons under 1000.

Profile picture
rich
December 04, 2007 at 11:52 PM

Uh, John, if I go to http://chinesepod.com/lesson-redirect-v3?lesson=0441

as you posted in the original post of this thread, it says the page doesn't exist.

Profile picture
fordbronco
November 18, 2007 at 11:32 PM

How did Chinesepod's pagerank suddenly drop from a 6 to a 1? Just a temporary google glitch?

Profile picture
John
November 15, 2007 at 02:48 AM

This method still works great...

Profile picture
chrka
August 25, 2007 at 09:00 AM

For those on a Mac, here is a small, and rather crude, AppleScript one can put into the script menu to jump to lessons in Safari:

-- Script begins here

on cpod(lNo)

return "http://chinesepod.com/lesson-redirect-v3?lesson=" & lNo

end cpod

display dialog "Which lesson:" default answer "0000"

tell application "Safari"

set lNo to text returned of the result

make new document with properties {URL:my cpod(lNo)}

end tell

-- Script ends here

Profile picture
John
August 15, 2007 at 01:21 AM

I'm pretty sure we're not blocking it.

Profile picture
goulnik
August 14, 2007 at 10:21 AM

I'm not intentionally trying to find lessons from the future, but I tell you it's pretty easy, I'd rather see CPod protect their paying content that anybody can easily work out how to access for free. Protecting access to their main site from a crawler that just want to get lesson dates and tags is kind of narrow-minded methinks, just making it difficult and forcing me to do more manual work, what's the gain?

Profile picture
henning
August 14, 2007 at 08:28 AM

goulnik,

maybe your crawler found too many lessons from the future...not that it eventually even comes up with those mysterious secret bonus lessons.

;)

Profile picture
goulnik
August 14, 2007 at 06:51 AM

gotta check my crawler, but it looks like CPod is now blocking my crawler, I thought sharing was encouraged....

Profile picture
goulnik
August 11, 2007 at 08:35 PM

thx. I trigger it manually, but it then crawls lesson details and tags

Profile picture
rich
August 11, 2007 at 07:16 PM

Really cool script. Do you update it manually when new lessons come out, or does it do that automatically?

Profile picture
goulnik
August 11, 2007 at 12:58 PM

actually, I have a more elaborate redirect script where you can enter lesson number or (part of) the lesson title, and specify also dialogue, vocab etc.

Profile picture
goulnik
August 10, 2007 at 02:06 PM

John, here's the mysterious script, mobile-friendly too...

Profile picture
John
August 10, 2007 at 01:42 AM

leviathan,

The Chinese usually refer to "BitTorrent" as "BT."

Sometimes BT means 变态 in net-speak, though, which might be annoying.

Profile picture
John
August 10, 2007 at 01:41 AM

Rich,

The titles in the URL are more human friendly (despite your programmer inclinations), plus they're more SEO friendly. Evidence still points to the URL content making a significant difference.

Profile picture
leviathan
August 09, 2007 at 08:15 AM

Is there a word for torrent in Chinese ?

All i can find refers to weather!

要中文Torrent搜索引擎

Profile picture
man2toe
August 09, 2007 at 06:33 AM

I forgot the ? in the location url, but now I am just sent to the home page, not the actual lesson.

Profile picture
rich
August 09, 2007 at 06:24 AM

Still wonder why lessons pages use such a long, human unfriendly URLs (even though they use words, doesn't seem easily memorable or typeable). Especially the advanced lessons, where I get a nice long string of encoded unicode characters at the top of my browser.

Wouldn't it had been easier to just make all the URL be .../learnchinese/A0501/ or .../learnchinese/0501/ ? The page Title already does a good job of telling us what the lesson topic is, and doubt anyone gets it from the URL.

Not asking you to change it (this instant anyway, ha ha), but was there a design reason in there, John? Interested in knowing.

Maybe being a web programmer I find short-n-sweet URLs more useful, and you'll more often than not find me often typing URLs... even for ChinesePod pages... I'm not a Bookmarks/Favorites user.

Profile picture
rich
August 09, 2007 at 06:17 AM

THANK YOU FOR THIS REDIRECT!!! It was on my wishlist (as you may have figured out)

Profile picture
John
August 09, 2007 at 05:56 AM

That is weird. The %s is critical; it's where the lesson ID number (or whatever comes after the space when you type it in the location bar) goes.

Profile picture
leviathan
August 09, 2007 at 05:54 AM

I forgot to add %s

and worked without the %s in the sidebar?

Weird huh

http://search.us.reuters.com/rsearch/rcomSearch.do?blob=%s

Profile picture
John
August 09, 2007 at 05:27 AM

You shouldn't have to load it in the sidebar. I don't.

Doesn't making the keywords all caps slow you down a little when you use them?

Profile picture
leviathan
August 09, 2007 at 05:23 AM

It didn't work at first because i forgot to check

'Load this bookmark in the side bar'

I've hidden my sidebar also!

Added CPID, CPD, TRZ, WPB

Firefox trick will save more time that i can measure

Profile picture
John
August 09, 2007 at 03:34 AM

Man2Toe,

Yes, that's correct. Maybe you're using the keyword wrong.

You have to type it into the location bar at the top of your Firefox browser window (where the URL usually goes). Make sure there's no "http://" or whatever in front of it.

Profile picture
man2toe
August 09, 2007 at 03:29 AM

Hmm, not working for me.

We are supposed to use this location or not?

Location: http://chinesepod.com/lesson-redirect-v3?lesson=%s

Keyword: cpid

Profile picture
John
August 09, 2007 at 03:11 AM

No prob!

Is anyone using the Firefox keyword trick? I use it all the time (with all kinds of keywords), and it saves me a ton of time.

The way I usually use it is actually slightly different. If you use Firefox, you can right-click on the text input field of pretty much any kind of search box and add it as a keyword search that way. I keep all my keyword searches in one bookmark folder.

I use keyword searches for: CPod IDs, dictionary lookups (multiple), thesaurus lookups, torrent searches, website proxies, image search (both Google and Baidu).

Profile picture
leviathan
August 09, 2007 at 03:04 AM

YAY thanks John!!!!! am doing a review of the newbie & ele levels via the dg.mp3's.

Profile picture
lostinasia
August 09, 2007 at 02:32 AM

If you're using iTunes, the track number is also the file number - so for a recent file, "Asking for English Books" is A0601, and in iTunes the track number is also 601. (iTunes doesn't take 4-digit track numbers, so I'm not sure what's going to happen in 13 months...)

That being said: adding the lesson number SOMEWHERE on the lesson page would improve things a lot; I'd also like to see a big spreadsheet style page with all of the lesson names, their levels, and the file number. If the items were linked and the whole list sortable it'd be very sweet indeed, but at least a list would help people a lot. Right now there must be so many lessons going unused because people don't happen to stumble across it in a search, and trawling through the lesson lists, page by page, is too tedious.

Organization tip: in iTunes I rename files and add metadata to help keep them organized. For example, all Newbie files are Disk 1 of 6; all Ellie are 2 of 6; and so on. I also rename the albums: for all the main podcast files, I re-name the album "ChinesePod - Podcast". All the dialogue-only files are "ChinesePod - Dialogue", etc. Between the track number, the disk number, and the album names, it makes keeping track of things a lot easier.

Sort of unrelated but still in the convenience vein: please please please add a link, on each lesson page, to the html file, simplified or traditional. I often want a quick look at the html file, but I have to download the PDF, open the PDF, click on the "text version" link, then add a little "trad" text the url. (Of course, digging through my computer to find the already-downloaded PDF file also works, but takes even longer.) (Is the traditional html feature even advertised anywhere?! I think I only learned about it through a conversation posting somewhere.)

Profile picture
John
August 09, 2007 at 01:31 AM

goulniky,

What is your "turn-the-lesson-name-into-a-url php utility"? Link us to it!

Conversation search is a whole different matter altogether and we agree it is necessary.

Profile picture
John
August 09, 2007 at 01:27 AM

jazz,

You know the ID from the PDF and from the MP3 and PDF filenames.

We don't have an ID for each level because we don't encourage studying the lessons in order. The lessons were not created to be studied in the chronological order they were published (with only a few exceptions).

If you're just trying to study all the Elementary lessons, then what you need is a system for tracking the lessons you've already studied, right? We already have this in its basic form, but we're working on improving it.

Profile picture
goulnik
August 08, 2007 at 10:28 AM

ok, that's a workaround to searching lessons by number (would still make sense). but how to go about searching conversations other than googling?

I'm not even talking about full-text searching within the posts but at least searching the subjects. Lesson conversations are easily found but how about the others?

Profile picture
goulnik
August 08, 2007 at 10:21 AM

cool, but as John said it only goes to the main page so that won't make my little turn-the-lesson-name-into-a-url php utility redundant quite yet (also allows search by number :-)

Profile picture
jazz
August 08, 2007 at 09:25 AM

John, this seems like it should be really useful, but how do I know the ID of the lesson I'm looking for, before I get there? I've just been doing an Elementary lesson which I only know was "B0305" because that was on the PDF file name when I opened it. But it would be very handy if I could therefore enter "cpid B0306" to jump to the "next" elementary lesson (I like to go through them sequentially on the IPod or I lose track of the ones I've done). But 0306 isn't in "my" logical sequence - it's an advanced lesson from the same date (couldn't that just be "E0305"? Then "B0306" would be guessable..). What I'm really getting at I suppose, is that I'd like to be able to use this redirect-ability instead of trawling through the Lessons list, but to do so I need to know the ID of the lesson I want, and that's not easy to find (or guess). How about including it in the title of the lesson, so it's visible in the IPod list interface?