Permalink
Browse files

First commit of tvdb code

  • Loading branch information...
mclaughlin.matt
mclaughlin.matt committed Apr 16, 2010
1 parent 89456e2 commit 26d0b60a6a57c48adb0439acc85392d5e1f031b6
Showing with 780 additions and 2 deletions.
  1. +4 −0 .htaccess
  2. +3 −0 data/.htaccess
  3. +13 −0 data/episodes/.htaccess
  4. +3 −0 data/index.php
  5. +103 −0 data/languages.xml
  6. +8 −0 data/mirrors.xml
  7. +7 −0 data/series/.htaccess
  8. +6 −0 data/updates/.htaccess
  9. +4 −0 scripts/.htaccess
  10. +629 −0 scripts/data2xml.pl
  11. +0 −1 thegamesdb
  12. +0 −1 trunk
View
@@ -0,0 +1,4 @@
+RewriteEngine on
+Redirect permanent /forums http://forums.thetvdb.com
+Redirect permanent /forum http://forums.thetvdb.com
+RewriteRule ^Interfaces/(.*)$ interfaces/$1 [L]
View
@@ -0,0 +1,3 @@
+<Files .htaccess>
+allow from all
+</Files>
View
@@ -0,0 +1,13 @@
+DirectoryIndex en.xml index.php
+RewriteEngine on
+
+RewriteRule ^([0-9]{1,4})$ $1/$1/en.xml [L]
+RewriteRule ^([0-9]{1,4})([^0-9]*)$ $1/$1$2 [L]
+RewriteRule ^([0-9]{4})([0-9]+)$ $1/$1$2/en.xml [L]
+RewriteRule ^([0-9]{4})([0-9]+)([^0-9]*)$ $1/$1$2$3 [L]
+
+<Files ".htaccess">
+ Order deny,allow
+ Deny from all
+ Satisfy All
+</Files>
View
@@ -0,0 +1,3 @@
+<?php ## Redirect
+ Header("Location: /");
+?>
View
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Languages>
+ <Language>
+ <name>Dansk</name>
+ <abbreviation>da</abbreviation>
+ <id>10</id>
+ </Language>
+ <Language>
+ <name>Suomeksi</name>
+ <abbreviation>fi</abbreviation>
+ <id>11</id>
+ </Language>
+ <Language>
+ <name>Dutch</name>
+ <abbreviation>nl</abbreviation>
+ <id>13</id>
+ </Language>
+ <Language>
+ <name>Deutsch</name>
+ <abbreviation>de</abbreviation>
+ <id>14</id>
+ </Language>
+ <Language>
+ <name>Italiano</name>
+ <abbreviation>it</abbreviation>
+ <id>15</id>
+ </Language>
+ <Language>
+ <name>Español</name>
+ <abbreviation>es</abbreviation>
+ <id>16</id>
+ </Language>
+ <Language>
+ <name>Français</name>
+ <abbreviation>fr</abbreviation>
+ <id>17</id>
+ </Language>
+ <Language>
+ <name>Polski</name>
+ <abbreviation>pl</abbreviation>
+ <id>18</id>
+ </Language>
+ <Language>
+ <name>Magyar</name>
+ <abbreviation>hu</abbreviation>
+ <id>19</id>
+ </Language>
+ <Language>
+ <name>Ελληνικά</name>
+ <abbreviation>el</abbreviation>
+ <id>20</id>
+ </Language>
+ <Language>
+ <name>Türkçe</name>
+ <abbreviation>tr</abbreviation>
+ <id>21</id>
+ </Language>
+ <Language>
+ <name>русский язык</name>
+ <abbreviation>ru</abbreviation>
+ <id>22</id>
+ </Language>
+ <Language>
+ <name> עברית</name>
+ <abbreviation>he</abbreviation>
+ <id>24</id>
+ </Language>
+ <Language>
+ <name>日本語</name>
+ <abbreviation>ja</abbreviation>
+ <id>25</id>
+ </Language>
+ <Language>
+ <name>Português</name>
+ <abbreviation>pt</abbreviation>
+ <id>26</id>
+ </Language>
+ <Language>
+ <name>中文</name>
+ <abbreviation>zh</abbreviation>
+ <id>27</id>
+ </Language>
+ <Language>
+ <name>čeština</name>
+ <abbreviation>cs</abbreviation>
+ <id>28</id>
+ </Language>
+ <Language>
+ <name>English</name>
+ <abbreviation>en</abbreviation>
+ <id>7</id>
+ </Language>
+ <Language>
+ <name>Svenska</name>
+ <abbreviation>sv</abbreviation>
+ <id>8</id>
+ </Language>
+ <Language>
+ <name>Norsk</name>
+ <abbreviation>no</abbreviation>
+ <id>9</id>
+ </Language>
+</Languages>
View
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Mirrors>
+ <Mirror>
+ <id>1</id>
+ <mirrorpath>http://thetvdb.com</mirrorpath>
+ <typemask>7</typemask>
+ </Mirror>
+</Mirrors>
View
@@ -0,0 +1,7 @@
+DirectoryIndex en.xml index.php
+RewriteEngine on
+<Files ".htaccess">
+ Order deny,allow
+ Deny from all
+ Satisfy All
+</Files>
View
@@ -0,0 +1,6 @@
+DirectoryIndex updates_day.xml
+<Files ".htaccess">
+ Order deny,allow
+ Deny from all
+ Satisfy All
+</Files>
View
@@ -0,0 +1,4 @@
+<Files *>
+deny from all
+</Files>
+
Oops, something went wrong.

0 comments on commit 26d0b60

Please sign in to comment.