Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ivan Melgrati  >  OPML Parser Class  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: OPML Parser Class
Extract the properties of content from OPML files
Author: By
Last change:
Date: 7 years ago
Size: 605 bytes
 

Contents

Class file image Download
<html>
<head>
<title>OPML Parser Example</title>
</head>
<body>
<form action="index.php" method="post" name="form1" target="_self" id="form1">
  <label>URL of OPML file
  <input name="url" type="text" id="url" value='http://www.opmlmanager.com/opml/phpmanual.opml' size="60" maxlength="255"/>
  </label>
  <p>
    <label>
    <input type="submit" name="Submit" value="Submit" />
    </label>
  </p>
</form>
<?php
require_once('iam_opml_parser.php');

if(
$_POST['url']!='')
{
    
$parser = new IAM_OPML_Parser();
    echo 
$parser->displayOPMLContents($_POST['url']);
}
?>
</body>
</html>