Solved:Possible errata in programming phoenix 1.4 version p1.0 pdf

Even with the print book the links can be helpful.

(Faux-REST) build your own URL:

The missing piece is that code listing urls for this book all have a path root of

https://media.pragprog.com/titles/phoenix14/code/

The title of the code listing on page 47 is

controllers_views_templates/listings/rumbl/lib/rumbl/accounts.ex

Combine both to get:

https://media.pragprog.com/titles/phoenix14/code/controllers_views_templates/listings/rumbl/lib/rumbl/accounts.ex

Note the phoenix14 in the book’s storefront URL:

https://pragprog.com/book/phoenix14/programming-phoenix-1-4

With Real-time Phoenix (Pragprog) the root is:

https://media.pragprog.com/titles/sbsockets/code/

and a listing title is

hello_sockets/lib/hello_sockets_web/channels/ping_channel.ex

so

https://media.pragprog.com/titles/sbsockets/code/hello_sockets/lib/hello_sockets_web/channels/ping_channel.ex

Note the sbsockets in the book’s storefront URL:

https://pragprog.com/book/sbsockets/real-time-phoenix

So the code listing URL path template is

https://media.pragprog.com/titles/{book_id}/code/{listing_title}
2 Likes