diff --git a/pages/index.dat b/pages/index.dat --- a/pages/index.dat +++ b/pages/index.dat @@ -26,4 +26,5 @@ http://www.tandfonline.com TaylorAndFrancis http://www.theguardian.com TheGuardian https://www.theguardian.com TheGuardian +http://www.japantimes.co.jp/ TheJapanTimes http://www.worldcat.org/ WorldCat diff --git a/pages/thejapantimes.php b/pages/thejapantimes.php new file mode 100644 --- /dev/null +++ b/pages/thejapantimes.php @@ -0,0 +1,26 @@ +site = "[[The Japan Times]]"; + + // Gets the date from the URL + $this->extractYYYYMMDDDateFromURL(); + + // Gets author + // e.g.
by
+ $this->author = $this->between('rel="author">', ''); + + // Removes pipe and website name from the title + $this->title = $this->between("", " |"); + } +}