Jump to content

Wikipedia:Newspaper search engines by country

From Wikipedia, the free encyclopedia

These are country-specific search engines for newspapers. The purpose is to quickly search for reliable sources in newspapers within a country, which is useful for AfD debates, and when sourcing articles.

Creating a new search engine

[edit]

Instructions for creating a search engine.

  • 1. Pick a country and find a list of newspapers at Category:Lists of newspapers by country.
  • 2. For each newspaper to include in the engine, make a note of its homepage URL e.g. http://nytimes.com
  • 3. Log into Google Custom Search (create an account it's free).
  • 4. Follow Google's instructions to create a new search engine. Add the newspaper website URLs noted in step 2.
  • 5. Create HTML like below.
  • 5. Host the HTML somewhere of your choosing.

Each country will have an HTML file like the below and will be hosted on a server somewhere of your choice.

Example search engines

[edit]

Romania

[edit]
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
        <head>
          <title>Romanian newspaper search engine</title>
        </head>
        <body>

 <h1><center>Romanian newspaper search engine</center></h1>

 <center>This is a country-specific newspaper search engine. Created for Wikipedia AfD and finding reliable sources.<br>
 For more see <A href="https://en.wikipedia.org/wiki/Wikipedia:Newspaper_search_engines_by_country">Newspaper Search Engines by Country</a> at Wikipedia.</center> <br>

 Newspapers: <a href="https://ro.wikipedia.org/wiki/List%C4%83_de_ziare_din_Rom%C3%A2nia">List of Romanian newspapers</a> (ro.wikipedia.org) <br>
 Scope of search: All blue-linked newspapers in the "National" section. <br>
 Date updated: June 19, 2014 <br>

 <!-- Custom code created by Google Custom Search for Romanian newspapers -->

 <script>
  (function() {
    var cx = '008645567738449110639:ue3umtsghpi';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
 </script>
 <gcse:search></gcse:search>

 <!-- End Google Custom Search code -->

 </body>
 </html>

Kenya

[edit]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
        <head>
          <title>Kenya newspaper search engine</title>
        </head>
        <body>

 <h1><center>Kenya newspaper search engine</center></h1>

 <center>This is a country-specific newspaper search engine. Created for Wikipedia AfD and finding reliable sources.<br>
 For more see <A href="https://en.wikipedia.org/wiki/Wikipedia:Newspaper_search_engines_by_country">Newspaper Search Engines by Country</a> at Wikipedia.</center> <br>

 Newspapers: <a href="https://en.wikipedia.org/wiki/List_of_newspapers_in_Kenya">List of Kenya newspapers</a> (en.wikipedia.org) <br>
 Scope of search: All blue-linked newspapers. <br>
 Date updated: June 20, 2014 <br>

 <!-- Custom code created by Google Custom Search for Romanian newspapers -->

<script>
  (function() {
    var cx = '008645567738449110639:npq4exlieek';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:search></gcse:search>

 <!-- End Google Custom Search code -->

 </body>
 </html>

Iran

[edit]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
        <head>
          <title>Iranian newspaper search engine</title>
        </head>
        <body>

 <h1><center>Iranian newspaper search engine</center></h1>

 <center>This is a country-specific newspaper search engine. Created for Wikipedia AfD and finding reliable sources.<br>
 For more see <A href="https://en.wikipedia.org/wiki/Wikipedia:Newspaper_search_engines_by_country">Newspaper Search Engines by Country</a> at Wikipedia.</center> <br>

 Newspaper list source: <a href="https://en.wikipedia.org/wiki/List_of_newspapers_in_Iran">List of Iranian newspapers</a> and <a href="https://en.wikipedia.org/wiki/List_of_Iranian_magazines">magazines</a> (en.wikipedia.org) <br>
 Scope of search: All blue-linked newspapers and magazines where available <br>
 Date updated: June 19, 2014 <br>

 <!-- Custom code created by Google Custom Search for Iranian newspapers -->

<script>
  (function() {
    var cx = '008645567738449110639:fr0cgo1vr-8';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:search></gcse:search>

 <!-- End Google Custom Search code -->

 </body>
 </html>