© Greg Donald 2024
G. DonaldHands-on Test-Driven Developmenthttps://doi.org/10.1007/978-1-4842-9748-3_14

14. Odds and Ends

Greg Donald1  
(1)
Clarksville, TN, USA
 
This chapter will cover some additions and enhancements to our existing work:
  1. 1.

    Build a sitemap

     
  2. 2.

    Add pagination for our blog entries

     
  3. 3.

    Add CSS styling

     
  4. 4.

    Add syntax highlighting for code blocks

     

Build a Sitemap

A sitemap isn’t a hard requirement for a website, but it is a good idea to have one. A sitemap is a URL endpoint, usually living at /sitemap.xml, that is available through a GET request and that lists all of the other URL endpoints on the website. A sitemap helps search engines find all of the pages in the website more easily compared to doing a full website crawl. For a ...

Get Hands-on Test-Driven Development: Using Ruby, Ruby on Rails, and RSpec now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.