Thanks Ben, 

I think your idea is going to work very well in fact.  I can now have all
the member pages exposed to search engines, as well as users who are
checking us out to see whether they want to spend the money on us.  But have
sections on each of these pages that only paid members can see.  Enclosed is
a prototype of the logic that will allow me to do this.  I wasn't sure
breaking up the login logic block into two parts would work, but it worked
perfectly in testing of this prototype.

<!--- This block would probably be in Application.cfm --->
<cflogin>
        <cfif Isdefined("Form.login")>
                <cfloginuser name="user" password="pass" roles="Member">
        </cfif>
</cflogin>

<!--- This is the main body content section with a mix of secured and
non-secured content. --->
<h1>Always show this content.</h1>

<cfif IsUserInRole("Member")>
        <h2>Show this content only if logged in.</h2>
<cfelse>
        <h2>Login to see all content.</h2>
</cfif>

<!--- This block would probably be in OnRequestEnd.cfm --->
<cflogin>
        <form action="logintest.cfm" method="post">
                <input type="submit" name="login" value="Log In">
        </form>
</cflogin>

--------------
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA


-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 9:12 AM
To: CF-Community
Subject: RE: Search Engine/Member Login


That's an interesting idea.  We are already developing the ability for new
users to get real live samples before committing to payment.  But I can see
adding this idea as well, show the title, and maybe a Lead sentence or
something... Hmm that's not two bad and idea.  The search engines won't have
all the content to digest, but we can give some of it at least.

--------------
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA


-----Original Message-----
From: Ben Doom [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 9:02 AM
To: CF-Community
Subject: RE: Search Engine/Member Login


What about making a small amount of the info available if you aren't logged
in?  Some intro text, or the first paragraph, or the first x characters to
the nearest word, or whatever.  Would that work?


--  Ben Doom
    Programmer & General Lackey
    Moonbow Software, Inc

: -----Original Message-----
: From: Ian Skinner [mailto:[EMAIL PROTECTED]
: Sent: Thursday, July 17, 2003 11:30 AM
: To: CF-Community
: Subject: RE: Search Engine/Member Login
:
:
: The former.
:
: Make it searchable enough that we can attract people who are searching for
: the kind of information we are offering to our site.
:
: --------------
: Ian Skinner
: Web Programmer
: BloodSource
: Sacramento, CA
:
:
: -----Original Message-----
: From: Ben Doom [mailto:[EMAIL PROTECTED]
: Sent: Thursday, July 17, 2003 8:22 AM
: To: CF-Community
: Subject: RE: Search Engine/Member Login
:
:
: Are you trying to make it searchable to attract paying members or
: something?
:
: If you're just trying to make it easy for the existing members,
: why not use
: Verity or something similar to index and search them?
:
:
: --  Ben Doom
:     Programmer & General Lackey
:     Moonbow Software, Inc
:
: : -----Original Message-----
: : From: Ian Skinner [mailto:[EMAIL PROTECTED]
: : Sent: Thursday, July 17, 2003 11:03 AM
: : To: CF-Community
: : Subject: RE: Search Engine/Member Login
: :
: :
: : The former was definitely a concern. and the latter is now a concern as
: : well, until Critz suggested it, I hadn't thought of the user
: agent angle.
: :
: : I'm wondering if I couldn't offer a search engine page (using
: : cgi-userAgent)
: : to expose the searchable data and markup.  But don't give all
: the extra's
: : and prettiness. Then theoretically the cached version would be a
: : lesser copy
: : of the whole.
: :
: : As I mentioned, this is probably a dead-end, but I wanted to make sure
: : before I gave, up. Because there is a good deal of index able
: : material that
: : is going to be locked behind a username/password otherwise.
: :
: : --------------
: : Ian Skinner
: : Web Programmer
: : BloodSource
: : Sacramento, CA
: :
: :
: : -----Original Message-----
: : From: Ben Doom [mailto:[EMAIL PROTECTED]
: : Sent: Thursday, July 17, 2003 7:54 AM
: : To: CF-Community
: : Subject: RE: Search Engine/Member Login
: :
: :
: : Might I point out that Google, for one, caches the contents of
: : each page it
: : indexes, so these members pages would be available to anyone
: who knows how
: : to use Google.
: :
: : Also, if someone wanted in, it's not that hard to (for example) hack the
: : Mozilla source to report a different agent ID.
: :
: :
: : --  Ben Doom
: :     Programmer & General Lackey
: :     Moonbow Software, Inc
: :
: : : -----Original Message-----
: : : From: Critz [mailto:[EMAIL PROTECTED]
: : : Sent: Thursday, July 17, 2003 10:35 AM
: : : To: CF-Community
: : : Subject: Re: Search Engine/Member Login
: : :
: : :
: : : oi Ian!!
: : :
: : : you could check the agent, and based on that let it pass into
: : the pages??
: : :
: : :
: : :
: : :
: : : ------------------------------------
: : : Thursday, July 17, 2003, 10:22:44 AM, you wrote:
: : :
: : : IS> All right is there a way for me to have my cake and eat it
: : : too, or more
: : : IS> accurately, have a login/members section that is indexed by
: : : search engines?
: : : IS> Is this possible?  Is it desirable?
: : :
: : : IS> --------------
: : : IS> Ian Skinner
: : : IS> Web Programmer
: : : IS> BloodSource
: : : IS> Sacramento, CA
: : :
: : : IS>
: : :
: :
: :
:
: 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
                                

Reply via email to