Amesit

Amesit creates an index of a website using the pages' meta tags.

Example

Let there be a directory with two files:

cities1.html
			<html>
				<head>
					<title>Europe</title>
					<meta name="category" value="capital">
					<meta name="keyword" value="Athens">
					<meta name="keyword" value="Paris">
					<meta name="category" value="state">
					<meta name="keyword" value="Greece">
				</head>
				<body>
					whatever you want
				</body>
			</html>
		
olympics1960.html
			<html>
				<head>
					<title>Summer Olympics 1960</title>
					<meta name="keyword" value="Olympics 1960">
					<meta name="category" value="state">
					<meta name="keyword" value="Greece">
					<meta name="category" value="scene of the Summer Olympics">
					<meta name="keyword" value="Athens">
				</head>
				<body>
					whatever you want
				</body>
			</html>
		

Now you have to call amesit from the directory with the files:

Unix
amesit.sh > out.xml
Windows
amesit.bat > out.xml

This will produce the following output file:

out.xml
			<index>
				<keyword name="Athens">
					<category name="capital">
						<reference>cities1.html</reference>
					</category>
					<category name="scene of the Summer Olympics">
						<reference>olympics1960.html</reference>
					</category>
				</keyword>
				<keyword name="Paris">
					<category name="capital">
						<reference>cities1.html</reference>
					</category>
				</keyword>
				<keyword name="Greece">
					<category name="state">
						<reference>cities1.html</reference>
						<reference>olympics1960.html</reference>
					</category>
				</keyword>
				<keyword name="Olympics 1960">
					<reference>olympics1960.html</reference>
				</keyword>
			</index>
		

SourceForge.net Logo