I've tried to only change the text and leave the menu remained, but that didn't work. I've also tried to fix it in the javascript-code, I think it has something to do with the variable autoSync, but I'm not sure.
Hi, I have a little script on my site that runs a dropdown menu. Works great, but it runs on every page and on every page the menu starts with its original position, so with nothing dropped down. Can't I make it that the dropdown from the last page remains dropped down? This is the script...
Hi all,
I'm creating a meta-search engine which stores the spidered text in a database. Of course, this takes a lot of space. When I started I had a MyISAM storage engine that became 185 mb as size. Then my database (also all my other tables) started to fail. I guess the database was too big...
Hi all,
with the searchfunction on my website my script breaks up the results into pages with 10 results. You can click the other pagenumbers to visit the next pages. Now the problem is when I have for example 200 results, it will show the pagenumbers 1 till 20. That's not so good, I only want...
For a searchfunction on my site, I use the LIKE-method to get the right information out of my database. I've broken up the searchterm into apart words, and they have become the $ucTerms variables.
if (!$ucTerms[1]){
my $sth = $dbh->prepare("SELECT * FROM metalink WHERE `inhoud` LIKE...
Ok, maybe it wasn't so clear at all Even though, thanks chrismassey for your help.
What I mean is when I have a large amount of text in my database, like:
Hello World, this is me. Today is a wonderful day with a lot of sunshine and no rain. I might go for a little walk to the forest etc etc...
Hi all,
I've a searchfunction for a part of the database which is (most of the times) a large amount of text. The searchfunction works great but I only want to parse out the part of the text where the searchwords are found in. That also works for a one word-search, when I use this code:
my...
Hi Guys,
You've been a wonderful help and thanks to your help I'm making very good progress, it's almost finished. But I have the next question:
When HTML::Parser gets menu for example, build like this:
<table><tr><td><a href="option1.html">Option1</a></td></tr>
<tr><td><a...
Hi all,
In a script of mine I have an url catched in a variable. Then, for custom url's, to let the script run well, I have to remove a part of it. I use the next code for that:
my $fout1 = "web/show"; # This is the part of the url I want to remove, $ol_info[1] is the url
if($ol_info[1] =~...
Hi all,
the tips you gave me all worked out fine an it works great now. But now I want to add a new function, that extracts the links from a page, so that I can spider these too. First I tried it with the codes you gave me, but I've found out that it's easier with the HTML::LinkExtor. Is that...
Hi Miller,
Thanks, this works perfectly! I've even filled in that it will spider a link instead of the Data Block. With the great help of you guys this script will work eventually.
The only problem is that it doens't write to the database. So I must have filled in something wrong in this part...
Thanks ishnid,
your code worked perfectly. But now I have another problem, haha. Keep getting new problems, but that may be the charm of programming.
When I use this:
my $url = $q->param("url");
my $sp_url = $url;
my $content = get($url);
my $modifylink = 'new';
sub unquote {
my ($string)...
Hi,
no it's not. I want to parse the file that's called in the
my $url = $q->param("url");
But
$p = HTML::TokeParser->new(shift||"$url");
doesn't work. Then I still get the error.
Hi all,
first of all great thanks to all for your help and your patience with me ;) I've tried the code from MillerH and it worked. Now I also want to try the HTML-parser from ishnid.
After I've installed the HTML::TokeParser and I've opened the url ishnid sent me. This is the code I use now to...
Thanks a lot, you are such a great help. Ok, I've installed the HTML::TokeParser, it shows up in my Installed Perl Modules. So what do I do now? How does it work?
Thanks all for helping, I will try your suggestions as soon as possible. Great, guys!
Question for Ishnid:
Thanks for thinking with me and I would love to follow your advise, but where can I find a HTML-parser like HTML::TokeParser and how do I use it?
Thank you!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.