removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / linking / xfn.php
diff --git a/mods/wiki/plugins/linking/xfn.php b/mods/wiki/plugins/linking/xfn.php
deleted file mode 100644 (file)
index b768768..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/*
-   The [http://gmpg.org/xfn/] XHTML Friends Network spec leverages HTML4
-   link syntax (the rel= attribute) to allow connecting persons (homepages)
-   by each other using relationship meta data notes. In Wiki you would
-   just prefix links from your to another ones user page, like for example
-   - friend:met:SomeOne
-   - co-resident:OtherPerson
-   
-   You should then also add following to yoursite, to denote the use of
-   XFN meta data:
-      <head profile="http://gmpg.org/xfn/1">
-
-   This plugin allows a few more technical (non-person-related) page meta
-   link flags, like "unlink" to defend against untruthful backlinks.
-*/
-
-
-$ewiki_config["xhtml_rel"] = array(
-   "friend", "acquaintance",
-   "met",
-   "child", "parent", "sibling", "spouse",
-   "co-resident", "neighbor",
-   "co-worker", "colleague",
-   "muse", "crush", "date", "sweatheart",
- #-- not XFN --
-   "unlink",                      // anti-link (against XFN spam)
-   "near", "contains", "partof",  // for things
-);
-
-
-$ewiki_plugins["interxhtml"][] = "ewiki_interxhtml_xfn";
-
-function ewiki_interxhtml_xfn($prefix, &$page, &$s) {
-   global $ewiki_config;
-
-   if (in_array($ewiki_config["xhtml_rel"], $prefix)) {
-      $s["xhtml"]["rel"] = trim($s["xhtml"]["rel"] . " $prefix");
-   }
-}
-
-
-?>
\ No newline at end of file