gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r4302 - Extractor-docs/WWW


From: grothoff
Subject: [GNUnet-SVN] r4302 - Extractor-docs/WWW
Date: Sun, 14 Jan 2007 11:11:42 -0800 (PST)

Author: grothoff
Date: 2007-01-14 11:11:41 -0800 (Sun, 14 Jan 2007)
New Revision: 4302

Added:
   Extractor-docs/WWW/demo.php3
Log:
fx

Added: Extractor-docs/WWW/demo.php3
===================================================================
--- Extractor-docs/WWW/demo.php3        2007-01-14 17:59:53 UTC (rev 4301)
+++ Extractor-docs/WWW/demo.php3        2007-01-14 19:11:41 UTC (rev 4302)
@@ -0,0 +1,37 @@
+<?php
+$title="libExtractor - Demo";
+$email="address@hidden";
+$keywords="keyword, extraction, mp3, html, pdf, images, jpeg, gif, ps, mime";
+$author="Vids Samanta";
+$page="demo";
+include("html_header.php3");
+W("You can see how the tool works by uploading a file you want to extract 
keywords from here.");
+echo "<form enctype=\"multipart/form-data\" method=\"post\" 
action=\"do_upload.php\">";
+P();
+W("File to Upload:");
+BR();
+echo "<input type=\"file\" name=\"img1\" size=\"30\">";
+P();
+W("Run with binary extractor (choose language, or none):");
+$vals=array("Danish"=>"1",
+           "English"=>"2", 
+           "Finnish"=>"3",
+           "Frensh"=>"4",
+           "Gaelic"=>"5",
+           "German"=>"6",
+           "Italian"=>"7",
+           "Norwegian"=>"8",
+           "Portuguese"=>"9",
+           "Swedish"=>"10");
+foreach($vals as $tlang=>$number) {
+  W($tlang);
+  echo "<input type=\"radio\" NAME=\"binary\" VALUE=\"$number\">";
+}
+W("none:");
+echo "<input type=\"radio\" NAME=\"binary\" VALUE=\"0\" Checked>";
+P();
+echo "<input type=\"submit\" name=\"submit\" value=\"Run Demo\">";
+W("This demo is limited to files smaller than 16 MB.");
+echo "</form>";
+include("html_footer.php3"); 
+?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]