diff --git a/export.php b/export.php deleted file mode 100644 index 5b2142a151e..00000000000 --- a/export.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/modules/export.module b/modules/export.module deleted file mode 100644 index c96ee2d8e43..00000000000 --- a/modules/export.module +++ /dev/null @@ -1,83 +0,0 @@ -\n"; - print "\n"; - - print "\n"; - print " ". variable_get(site_name, "drupal") ."\n"; - print " ". path_uri() ."\n"; - print " ". variable_get(site_slogan, "") ."\n"; - print "\n"; - - $result = db_query("SELECT * FROM node WHERE promote = '1' AND status = '$status[posted]' ORDER BY timestamp DESC LIMIT 10"); - - while ($node = db_fetch_object($result)) { - print "\n"; - print " ". check_export($node->title) ."\n"; - print " ". path_uri() ."node.php?id=$node->nid\n"; - print "\n"; - } - - print "\n"; -} - -function export_export_rss() { - global $status; - - header("Content-Type: text/plain"); - - print "\n"; - print "\n\n"; - - print "\n"; - print " ". variable_get(site_name, "drupal") ."\n"; - print " ". path_uri() ."\n"; - print " ". variable_get(site_slogan, "") ."\n"; - - print " \n"; - print " \n"; - - $result = db_query("SELECT * FROM node WHERE promote = '1' AND status = '$status[posted]' ORDER BY timestamp DESC LIMIT 10"); - - while ($node = db_fetch_object($result)) { - print " nid\" />\n"; - } - - print " \n"; - print " \n"; - print "\n\n"; - - $result = db_query("SELECT * FROM node WHERE promote = '1' AND status = '$status[posted]' ORDER BY timestamp DESC LIMIT 10"); - - while ($node = db_fetch_object($result)) { - print "nid\">\n"; - print " ". check_export($node->title) ."\n"; - print " ". path_uri() ."node.php?id=$node->nid\n"; - print "\n"; - } - - print "\n"; -} - -function export_export($query) { - switch ($query) { - case "headlines.rss": - export_export_rss(); - break; - case "headlines.rdf": - case "default": - export_export_rdf(); - } -} - -?>