sgtaw
Member since Jun-1-05
402 posts, 2 feedbacks, 3 points |
Dec-04-07, 08:38 PM (PST) |
|
"SSI Thread"
|
Hello, I would like to have this thread all about SSI, if I may. Blessings, Ed
|
|
|
Printer-friendly page |
|
|
sgtaw
Member since Jun-1-05
402 posts, 2 feedbacks, 3 points |
Dec-04-07, 08:53 PM (PST) |
|
2. "RE: SSI Thread"
|
I figured it out.... This is actually two steps. 1. In fatty admin, under "feeds", you have to make sure the path to "feedsearch_ssi.cgi" is correct. It MUST be the FULL server path. Like this, for instance... home/server_domain_name/public_html/cgi-bin/bb/feedsearch_ssi.cgi 2. The SSI tag must locate this path properly. For instance, since my pages were in a sub-folder (one level down from the root folder) my tag had to be formatted like this: <!--#include virtual="../cgi-bin/bb/feedsearch_ssi.cgi?channel=7&keywords=football%20shoes&mode=exact&random=1" --> Notice the ../ in the beginning. That tells the code that this particular page is one level down from the root. For two levels down, the code would be ../../ I hope this helps.... Blessings, Ed |
|
|
Printer-friendly page |
|
|
sgtaw
Member since Jun-1-05
402 posts, 2 feedbacks, 3 points |
Dec-04-07, 09:18 PM (PST) |
|
3. "SSI and HTML with HTTRACK"
|
LAST EDITED ON Dec-04-07 AT 09:23 PM (PST) HTTRACK is great for sucking your keywords into html pages....Here is a question... I want to add an SSI tag into my template. This is the tag... <!--#include virtual="../cgi-bin/bb/feedsearch_ssi.cgi?cat=1&keywords=keyword%20keyword&mode=exact&random=1&results=3" --> <!--#include virtual="../cgi-bin/bb/feedsearch_ssi.cgi?cat=1&keywords=keyword%20keyword&mode=all&random=1&results=2" --> I like this because it is RANDOM! This means everytime I suck pages, the data will be complete different and unique! Nice. I have two... one is EXACT on is ALL. The EXACT is nice if there is and EXACT match for my keyword phrase. The ALL makes sure I get something! Here's where it gets nice!.... replace keyword%20keyword with BRACKET-LEFT % form.keywords as html % BRACKET-RIGHT (SORRY. This forum doesn't like brackets!) So your SSI tage now looks like this <!--#include virtual="../cgi-bin/bb/feedsearch_ssi.cgi?cat=1&keywords=BRACKET-LEFT % form.keywords as html % BRACKET-RIGHT&mode=exact&random=1&results=3" --> <!--#include virtual="../cgi-bin/bb/feedsearch_ssi.cgi?cat=1&keywords=BRACKET-LEFT % form.keywords as html % BRACKET-RIGHT&mode=all&random=1&results=2" --> BRACKET-RIGHT = ] BRACKET-LEFT = Is the other side! Now you will get the keywords into the SSI as HTTRACK sucks pages!
Blessings, Ed
|
|
|
Printer-friendly page |
|
|
sgtaw
Member since Jun-1-05
402 posts, 2 feedbacks, 3 points |
Dec-04-07, 09:35 PM (PST) |
|
4. "RE: SSI and HTML with HTTRACK"
|
OK. I am having a problem getting the SSI to work with httrack AND the on the fly page creation.... The SSI won't run.... I have tried to put the tag in various places in the template that has all the coding for fatty but it doesn't work. Any ideas? Blessings, Ed |
|
|
Printer-friendly page |
|
|
sarunokokoro
Member since Apr-8-06
3 posts, Rate this user |
Dec-05-07, 03:04 AM (PST) |
|
5. "RE: SSI and HTML with HTTRACK"
|
hi ed, are you putting ssi tags in the fatbomb skin?? i think that can't be done. suppose you are getting "raw" code like this when you load the page...(instead of the content you want)<!--#include virtual="../cgi-bin/bb/feedsearch_ssi.cgi?cat=1&keywords=BRACKET-LEFT % form.keywords as html % BRACKET-RIGHT&mode=all&random=1&results=2" --> tell me how specifically you want your pages to come out and maybe i can help jo
|
|
|
Printer-friendly page |
|
|
Johlum
Member since Oct-3-06
60 posts, Rate this user |
Dec-05-07, 04:08 AM (PST) |
|
6. "RE: SSI and HTML with HTTRACK"
|
Here's what I've found works on my servers. It's php. <? virtual("/cgi-bin/fatbomb/fatbomb.cgi/?skin=skin6&keywords=key+word");?> Ernie
|
|
|
Printer-friendly page |
|
|
Kurt
Member since Dec-5-02
8892 posts, 5 feedbacks, 8 points |
Dec-06-07, 12:25 PM (PST) |
|
7. "RE: SSI and HTML with HTTRACK"
|
>I am having a problem getting the SSI to work with httrack >AND the on the fly page creation.... > >The SSI won't run.... > >I have tried to put the tag in various places in the >template that has all the coding for fatty but it doesn't >work. > >Any ideas? Hi Ed, First, why do you want to add SSI tags to the httrack pages? The point of the httrack pages is that they are static and don't need SSI tags. An exception would be if you are adding navigation that you want to be able to modify using SSI? If SSI isn't working, it's usually because of: -wrong file path -cgi/perl/php script isn't working -no htaccess file Also, this discussion probably should have taken place on this thread: 4 Putting RSS on Pages: SSI and htaccess http://www.dombom.com/cgi-bin/dcforum/dcboard.cgi?az=show_thread&om=60&forum=DCForumID42 Let's pick up the discussion on the other thread, so I can have "control" of the first post. (To cover basics, etc).
-Boom boom boom boom.
|
|
|
Printer-friendly page |
|
|
|