Be a real MadBomber! Get Access to the VIP download forum here...

Subject: "SSI Thread" Locked thread - Read only
  Previous Topic | Next Topic
Printer-friendly copy    
Conferences The New MadBomber Marketing and SEO Forum Topic #624
Reading page 1 of 1 pages
sgtawmoderator click here to view user rating
Member since Jun-1-05
402 posts, 2 feedbacks, 3 points
Dec-04-07, 08:38 PM (PST)
Click to EMail sgtaw Click to send private message to sgtaw Click to view user profileClick to add this user to your buddy list  
"SSI Thread"
 
   Hello,

I would like to have this thread all about SSI, if I may.

Blessings,

Ed


  Printer-friendly page
sgtawmoderator click here to view user rating
Member since Jun-1-05
402 posts, 2 feedbacks, 3 points
Dec-04-07, 08:40 PM (PST)
Click to EMail sgtaw Click to send private message to sgtaw Click to view user profileClick to add this user to your buddy list  
1. "RE: SSI Thread"
 
   LAST EDITED ON Dec-04-07 AT 08:42 PM (PST)
 
I have the following SSI tag

<!--#include virtual="http://mydomain.com/cgi-bin/bb/feedsearch_ssi.cgi?channel=7&keywords=football%20shoes&mode=exact&random=1"; -->

It is in a blank HTML page....

I get the following error when, I upload the page and try to view it

----------BEGIN----------
an error occurred while processing this directive
----------END------------

When I paste the tag directly to my browser

http://mydomain.com/cgi-bin/bb/feedsearch_ssi.cgi?channel=7&keywords=football%20shoes&mode=exact&random=1

It works!

It DOES NOT work in the SSI format in my html page.

Any suggestions?

More info: This page is in a sub-folder from the root directory.

Thanks and blessings,

Ed


  Printer-friendly page
sgtawmoderator click here to view user rating
Member since Jun-1-05
402 posts, 2 feedbacks, 3 points
Dec-04-07, 08:53 PM (PST)
Click to EMail sgtaw Click to send private message to sgtaw Click to view user profileClick to add this user to your buddy list  
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
sgtawmoderator click here to view user rating
Member since Jun-1-05
402 posts, 2 feedbacks, 3 points
Dec-04-07, 09:18 PM (PST)
Click to EMail sgtaw Click to send private message to sgtaw Click to view user profileClick to add this user to your buddy list  
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
sgtawmoderator click here to view user rating
Member since Jun-1-05
402 posts, 2 feedbacks, 3 points
Dec-04-07, 09:35 PM (PST)
Click to EMail sgtaw Click to send private message to sgtaw Click to view user profileClick to add this user to your buddy list  
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
sarunokokoroteam
Member since Apr-8-06
3 posts, Rate this user
Dec-05-07, 03:04 AM (PST)
Click to EMail sarunokokoro Click to send private message to sarunokokoro Click to view user profileClick to add this user to your buddy list  
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
Johlumteam
Member since Oct-3-06
60 posts, Rate this user
Dec-05-07, 04:08 AM (PST)
Click to EMail Johlum Click to send private message to Johlum Click to view user profileClick to add this user to your buddy list  
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
Kurtadmin click here to view user rating
Member since Dec-5-02
9533 posts, 6 feedbacks, 9 points
Dec-06-07, 12:25 PM (PST)
Click to EMail Kurt Click to send private message to Kurt Click to view user profileClick to add this user to your buddy list  
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


Conferences | Topics | Previous Topic | Next Topic