Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

utility to show all .html files w/descriptions?

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  [OT] Jedi Masters  
Author Message
mikej1

External


Since: Nov 16, 2003
Posts: 3



(Msg. 1) Posted: Sun Nov 16, 2003 10:10 am
Post subject: utility to show all .html files w/descriptions?
Archived from groups: alt>www>webmaster (more info?)

My site's gotten a bit out-of-hand over the last few years... very large
numbers of "active" .htm pages, but also, according to FrontPage, about 50
pages that I've put up that have no links to them (due to pages connecting
to them that no longer exist, but the orphaned remaining pages still contain
relevant content).

Does anybody know of a utility that lists all of your .htm/.html files,
along with their descriptions, so I can try and get a handle on all this?

Thanks!

--Mike-- Chain Reaction Bicycles
http://www.ChainReactionBicycles.com

 >> Stay informed about: utility to show all .html files w/descriptions? 
Back to top
Login to vote
peccatte

External


Since: Nov 16, 2003
Posts: 1



(Msg. 2) Posted: Sun Nov 16, 2003 7:08 pm
Post subject: Re: utility to show all .html files w/descriptions? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You may try Metadata Miner Catalogue PRO to list all html files in
folders with their metadata ie file names with titles for example;
Sort, export and other features may help you. <a style='text-decoration: underline;' href="http://www.metadataminer.com" target="_blank">www.metadataminer.com</a>

Patrick.
Mike Jacoubowsky wrote:
 > My site's gotten a bit out-of-hand over the last few years... very
 > large numbers of "active" .htm pages, but also, according to
 > FrontPage, about 50 pages that I've put up that have no links to them
 > (due to pages connecting to them that no longer exist, but the
 > orphaned remaining pages still contain relevant content).
 >
 > Does anybody know of a utility that lists all of your .htm/.html
 > files, along with their descriptions, so I can try and get a handle
 > on all this?
 >
 > Thanks!
 >
 > --Mike-- Chain Reaction Bicycles
<font color=purple> > <a style='text-decoration: underline;' href="http://www.ChainReactionBicycles.com</font" target="_blank">http://www.ChainReactionBicycles.com</font</a>>

--
Patrick Peccatte - development
Virginia Manso - sales
<a style='text-decoration: underline;' href="http://www.softexperience.com" target="_blank">www.softexperience.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: utility to show all .html files w/descriptions? 
Back to top
Login to vote
dorward

External


Since: Jun 27, 2003
Posts: 195



(Msg. 3) Posted: Sun Nov 16, 2003 9:00 pm
Post subject: Re: utility to show all .html files w/descriptions? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mike Jacoubowsky wrote:

 > Does anybody know of a utility that lists all of your .htm/.html files,
 > along with their descriptions, so I can try and get a handle on all this?

I put this together a while ago. You can get Perl via
<http://www.perl.org/>. It prints out information about all the meta data,
adding an if statement can limit it to just the description.

Call it with something like:

perl myscript.pl *.html


Program starts:

#!/usr/bin/perl
use strict;
use HTML::TreeBuilder 3;

#######################################
#
# Extracts meta tags from HTML documents
# and displays their content.
#
#######################################

foreach my $file_name (@ARGV) {
my $tree = HTML::TreeBuilder->new;
$tree->parse_file($file_name);
my @meta = $tree->find_by_tag_name('meta');
print $file_name . "\n";
for (@meta) {
print $_->attr('name') . $_->attr('http-equiv') . ' = ';
print $_->attr('content') . "\n";
}
print "----------------------------------\n\n";
$tree = $tree->delete;
}



--
David Dorward <a style='text-decoration: underline;' href="http://dorward.me.uk/" target="_blank">http://dorward.me.uk/</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: utility to show all .html files w/descriptions? 
Back to top
Login to vote
mikej1

External


Since: Nov 16, 2003
Posts: 3



(Msg. 4) Posted: Tue Nov 18, 2003 7:38 am
Post subject: Re: utility to show all .html files w/descriptions? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks... I've spent the last few years avoiding learning Perl... sigh.
Better get over it soon!

Thanks again-

--Mike-- Chain Reaction Bicycles
<a style='text-decoration: underline;' href="http://www.ChainReactionBicycles.com" target="_blank">http://www.ChainReactionBicycles.com</a>


"David Dorward" <dorward.DeleteThis@yahoo.com> wrote in message
news:bp8dvc$3hc$2$8300dec7@news.demon.co.uk...
 > Mike Jacoubowsky wrote:
 >
  > > Does anybody know of a utility that lists all of your .htm/.html files,
  > > along with their descriptions, so I can try and get a handle on all
this?
 >
 > I put this together a while ago. You can get Perl via
 > <http://www.perl.org/>. It prints out information about all the meta data,
 > adding an if statement can limit it to just the description.
 >
 > Call it with something like:
 >
 > perl myscript.pl *.html
 >
 >
 > Program starts:
 >
 > #!/usr/bin/perl
 > use strict;
 > use HTML::TreeBuilder 3;
 >
 > #######################################
 > #
 > # Extracts meta tags from HTML documents
 > # and displays their content.
 > #
 > #######################################
 >
 > foreach my $file_name (@ARGV) {
 > my $tree = HTML::TreeBuilder->new;
 > $tree->parse_file($file_name);
 > my @meta = $tree->find_by_tag_name('meta');
 > print $file_name . "\n";
 > for (@meta) {
 > print $_->attr('name') . $_->attr('http-equiv') . ' = ';
 > print $_->attr('content') . "\n";
 > }
 > print "----------------------------------\n\n";
 > $tree = $tree->delete;
 > }
 >
 >
 >
 > --
<font color=purple> > David Dorward <a style='text-decoration: underline;' href="http://dorward.me.uk/</font" target="_blank">http://dorward.me.uk/</font</a>><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: utility to show all .html files w/descriptions? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Domain Name Utility - I've got a list of keywords that I would like to check if they are available as domain names, either .com, .info, .ca, .eu etc. Is there a utlity that I can use to import the names, select which TLD I want to search against and just click go? Netsol ha...

Google PR utility sought - I manage a whole bunch of websites and thousands of pages and would like a way to find out the highest page ranked ( Google PR ) pages throughout each domain without going through each page and checking the PR in the Google toolbar. Is there such a..

Project Folder Utility? - Are there any utilities that any of you know about that would allow you to set up a project where only certain folders on your hard drive are visible? I don't know about you, but when I go to open a file from a graphics editing program like Fireworks, it...

utility for local preview of ssi pages - Can anyone recommend a good utility which allows you to preview your server side include pages before you post them to the www? It'd be nice to know what your going to get before the world does! -- Regards, Dave --..

Looking for PHP app to store/show - I'm looking for a PHP app that can be used to easily update data and show it in a grid format. For example, across the top you have Days, along the side you have Names, then by visually cross-referencing you can see whose name is selected on what day. ..
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]