fix-frogfind-content-display.html (2259B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>How to Fix FrogFind's Incorrect Display of Websites | Riaz's Website</title> 6 <link rel="stylesheet" href="/style.css"> 7 <link rel="icon" href="data:,"> 8 <meta name="description" content="How to fix a website that FrogFind is unable to correctly display"> 9 <meta name="viewport" content="width=device-width, initial-scale=1"> 10 </head> 11 <body> 12 <h1>How to Fix FrogFind's Incorrect Display of Websites</h1> 13 <hr> 14 <article> 15 <p><a href="http://frogfind.com/">FrogFind</a> would not load the information on my home page. However, other pages, such as the articles that I have written, would load. This was likely due to FrogFind using <a href="https://github.com/mozilla/readability">Mozilla's Readability library</a> to find the main content of a page.</p> 16 <p>Wrapping a <main> tag around the index page allowed FrogFind to properly detect the HTML. When I tried the same solution on my contact page, FrogFind was still unable to show its information. The work-around was to wrap it in an <article> tag.</p> 17 <p>The <main> tag tends to work more on pages with list items. If a page does not include lists, the <article> tag should be used.</p> 18 <h2>FrogFind Does Not Read Relative Paths Correctly</h2> 19 <p>On modern browsers, if <code>https://riazj.com/articles/fix-frogfind-content-display</code> is opened, any links on that page to another file like <a href="repairing-thinkpads-and-macbooks"><code>href="repairing-thinkpads-and-macbooks"</code></a> will be within the articles' folder because the current page is in that folder. With FrogFind, it will instead search from the root domain (<code>https://riazj.com</code>). This means that if one article links to another without stating the absolute path (<code>/articles/article-name</code>), FrogFind will look at <code>https://riazj.com/article-name</code>.</p> 20 <p>The solutions that I have found are to add a <base> tag in the <head> tag of the affected pages, or to type out the full path. Since the number of people visiting this site through FrogFind besides me is likely zero, I have decided to not change the articles' links.</p> 21 </article> 22 <footer> 23 <hr> 24 <a href="/">Home Page</a></footer> 25 </body> 26 </html>