View Full Version : Congratulations and comments question
introuble
08-15-2011, 12:33 AM
First my congratulations to this excellent article script solution. Especially the integration with fb seems very well done, as it really brings in a lot of traffic.
There is just one question I have. I know that one can read the fb comments and cache them, then add them on the page so that these are fully visible for google crawlers. Very good for seo. I tried that on one other site but didnīt make it work due to missing server settings.
Do You have this option on that script or is somebody going to add a mod for this ? Will buy end of this month !!!
James
08-15-2011, 02:32 AM
I will research the cache and look for a mod if it all plays nice together
I can say this check the pr of the demo site and inner pages
This domain was dead and not listed when we started developing this release
David
08-15-2011, 04:56 AM
Interesting about the cache of FB comments. If you have any links about that, let us know. It is probably easy to implenent.
wservers
08-15-2011, 08:00 PM
Any way to easily add support for http://en.gravatar.com/ on the author pages...Most are members of many directories and it would be ideal to just recognize the profile image.
If this is already an option, please post a link to the forum post. I did a search and didn't find anything.
Thanks,
Jeff
James
08-15-2011, 08:21 PM
add a field on the profile page for the email for the gravatar (a lot of people use different emails)
then in the author page you simply md5 the email as per their example and use that in an img src tag
Then in anyplace it uses the author avatar you can do an if not empty gravatar field use that img else if not empty author image use it else use no image
myself I think I would md5 the email on profile update and then just use that field
introuble
08-16-2011, 01:38 PM
James and David,
Oh yes, at least fb tells us that it is easy. You may read that blogpost. It is shown how comments are accessed and how the resulting file looks and as well a small php example how to pull them.
I think for You experts is easy to store them into a database what would give best seo results and independence ; )
http://developers.facebook.com/blog/post/490
Only problem for me was that my hosting did not allow to use file_get_contents so I didnt worked it out. There was as well a curl solution somewhere.
I have worked with fb before on my directory sites and it is really disappointing, that they have so many changes. I was using before the old comments box with a script and a html page to moderate them, with the new comments box the old ones are gone.
Big loss, so, if You could manage it to get the comments into the database, that would really be perfect.
intouble
introuble
08-16-2011, 03:05 PM
I am sure for You this is no problem but how ever here is a link to a small caching instruction, which I wanted to use. Just as startingpoint:
http://www.parorrey.com/blog/php-development/reading-contents-of-remote-file-and-caching-it-locally-using-php/
Problem as well was the limitation of my hoster regarding fopen. But now they offer a php.ini for each directory on that space.
However, writing them to a database would be much much better, as on big directories / articlescripts, could be too many files as fb only allows access to the urls one by one (as far I know). I have that problem with 200.000 catges for that regional dir. File limit is about 250.000 only. Together with adodb and sessions it is easy to reach these limits.
The new articles script looks really great and I will integrate as an independent site, connected to my dirs...
James
08-16-2011, 03:38 PM
actually tossing them into a database for a big/busy site would increase server load and query time which is the whole point of off loading everything
introuble
08-17-2011, 12:55 AM
..that You know that much better than me, but after learning that the submit.php issue hangs because of the database I am open to learn.
Formerly I liked that everything is inside a database as it is very easy to handle by the user. One can download it, change some things and start a new project. But may be textfiles as well do a good job. Soon (I hope) I will see the difference on my support item.
In any case caching the comments would be really fine, as fb is not really the most stable thing. Just last week my pageloading times have been between 1.6 and 5.1 seconds, always due to the availibility of fb.
Another point regarding the fb comments is, that fb uses kind of internal evaluation which comments are important enough to show. I still couldnt find a way to make sure, that it shows all comments on a page. With the old commentsbox this was not a problem.
If You know how, please give me a hint, otherwise, if I find it, I will post it here as well.
The article script is good enough to replace some wp blogs I have. Wp is great, but updating script and templates on many sites often is really timeconsuming.
Best regards
introuble
James
08-17-2011, 01:08 AM
It is on my list :)
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.