Questions Answered

Have a question? Try a search:

[back]

I've just checked your SiteShadow script. It's a wonderful script. Congratulations! on making such a useful script. It works fine but I can not find how to use "Replacements" option in the script.

e.g.
if the HTML source code is [a href=http://www.domain.com/filename].html Text[/a]

Now, I want to remove the HTML code and not the text. Can u please give me one sample of accomplish this?

If you want to remove all HTML code, then there is a special line of code you can add the following right after &replacements; around line number 62:

$content =~ s/<(?:[^>'"]*|(['"]).*?\1)*>//gs

If you want to remove selective HTML text, the format is "old value", "new value". You need to do it like this:

%REPLACEMENTS = (

'[a href="a site"]a name[/a]', '[a href="a new site"]a name[/a]'
'[font face=arial]', '[font face=tahoma]'

); # NO COMMA AFTER THE LAST ONE.





FAQSearch Script - Create a Frequently Asked Questions search engine on your site. Does this answer your question to your satisfaction?
[yes] [no]
Next Question & Response Display All

In the Spotlight

FAQ Search $0.00
Add to Cart
 Put a Frequently Asked Questions script on your site to help you manage your user help assistance. This help desk will allow your users to quickly find answers to their questions. You can administrate it online, adding your own questions and answers. Users can vote on the appropriateness of the reply.
[more & download links]

What People Say

iTreePad $0
Add to Cart Thanks for iTreepad! I've been a fan of TreePad for years. I have over a dozen
databases that hold all the stuff that won't fit in my brain ;-)
Cheers!
-- Karen

[more & download links]

Post Page Comment