Google Books – How to Specify URL to a Page in a Book

google-books

In URL https://books.google.com/books?id=rAy-NliGEPMC&lpg=PA126&pg=PA126#v=onepage&q&f=false, what do the following query strings mean:

  • "lpg=PA126"
  • "pg=PA126#v=onepage"
  • "q"
  • "f=false"?

If I want to specify the URL to a particular page in a book, shall I modify the value of "lpg" or the one of "pg"?

Best Answer


EDIT

About the lpg= parameter on a Google Books URL

Although not officially documented, the lpg= parameter refers to the landing page to the Google Book.

How this works in our example:

When you first land (through a link) to page 126 the link is

https://books.google.gr/books?id=rAy-NliGEPMC&pg=PA126#v=onepage&q&f=false

When one wants to share the link by clicking the "chain" button while on the same page, the copied link changes to:

https://books.google.com/books?id=rAy-NliGEPMC&lpg=PA126&pg=PA126#v=onepage&q&f=false

copied Google Books page URL same as landing page

If one moves to eg. page 137 the new copied link becomes

https://books.google.gr/books?id=rAy-NliGEPMC&lpg=PA126&pg=PA137#v=onepage&q&f=false

copied Google Books page URL other than landing page


Original answer

In the given example

https://books.google.com/books?id=rAy-NliGEPMC&lpg=PA126&pg=PA126#v=onepage&q&f=false

The URL could also be written as
https://books.google.com/books?id=rAy-NliGEPMC&pg=PA126#v=onepage&f=false

The URL syntax is:

  • The book ID
    https://books.google.com/books?id=rAy-NliGEPMC

  • The page number
    pg=PA126

  • Whether viewed as a centerfold or a single page
    v=onepage OR v=twopage

https://books.google.com/books?id=rAy-NliGEPMC&pg=PA126#v=twopage&f=false

  • Whether to show or not the left hand side-bar
    f=false OR f=true

https://books.google.com/books?id=rAy-NliGEPMC&pg=PA126#v=onepage&f=true