Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3

Author Topic: [MOD] Meta description & keywords for search engines (sNews 1.4)  (Read 15753 times)

gomisan

  • Full Member
  • ***
  • Karma: 0
  • Posts: 194
    • http://fish-cam.net/
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #15 on: April 18, 2006, 09:04:15 am »

I haven't tested the latest fix... but probably will tonight.

Other than that, follow the instructions and you should be fine, this works nicely.
Logged
Check out my sNews powered Tropical Fishtank site, live Fish-Cam !!

David

  • Hero Member
  • *****
  • Karma: 7
  • Posts: 567
Logged

gomisan

  • Full Member
  • ***
  • Karma: 0
  • Posts: 194
    • http://fish-cam.net/
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #17 on: April 18, 2006, 10:59:15 am »

All modificatiosn to the mod are tested and OK.
Logged
Check out my sNews powered Tropical Fishtank site, live Fish-Cam !!

Dom

  • Full Member
  • ***
  • Karma: 5
  • Posts: 163
    • domdelimar.com
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #18 on: May 07, 2006, 08:32:01 pm »

avenir thank you sooo much!

I just applied this to my site and it's working like a charm. Just what I needed. :D

I did have to change these two lines that are supposed to go into the title function:

Code: [Select]
if($description_meta != "")    echo "n";
if($keywords_meta != "")    echo "n";
into:
Code: [Select]
if($description_meta != "") echo "\n";
if($keywords_meta != "") echo "\n\n";
Can you see the difference? I'm actually not even close to knowledgeable to explain why but with your code it reported that it expects either "," or ";" on the first line of this code. To be exact, this was the error:

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/dom/public_html/test2/snews-modified.php on line 497

So I just followed an example of some other code I applied before on my sNews... modified it a bit and it works now.

Once more, thank you for this mod.
Logged

David

  • Hero Member
  • *****
  • Karma: 7
  • Posts: 567
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #19 on: May 09, 2006, 11:33:50 am »

Ok thanks Dom! I modified my preview post ;)
Logged

bryn

  • Hero Member
  • *****
  • Karma: 2
  • Posts: 934
    • http://www.cssugly.com
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #20 on: May 12, 2006, 09:04:51 am »

I know you must be a busy man av..but have you had any luck with the related articles function at all?

I know it's a DB call to read the appropriate tables, but how to read both at once, or choose which to read from an admin interface, how to limit the results, and maybe how to display the category next to the title?


huh..I don't want much do I? ;) seriously..for an article site I think this is pretty much the only Mod left to do that would be useful..except maybe for a tag cloud :)

thanks again
Logged
Over 1,000 posts of joy, sNews is not only brilliant, but fun too! thanks guys :D

David

  • Hero Member
  • *****
  • Karma: 7
  • Posts: 567
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #21 on: May 12, 2006, 10:04:58 am »

Hi Bryn, really i didn't begin the "related items" mod, but i don't know if Luka envisages this mod in the future sNews version (Luka ?)

If not, the best i think, is to wait the next version else i could do the work twice...

In my head, the first function could be like 'related(article_id, limit);'

But you are right! This mod is very important for an article site like sNews !

I wait now the Luka answer :)
Logged

bryn

  • Hero Member
  • *****
  • Karma: 2
  • Posts: 934
    • http://www.cssugly.com
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #22 on: May 12, 2006, 10:14:06 am »

of course av..no point in doing the work twice and I totally understand your reasoning ;)

thanks very much for the reply, and I too eagerly await Luka's  thoughts

btw..the LightBiz template is lovely! if you don't mind I am going to play with it to see if I can't get the navigation on the left side, and 'source oder' the code..better for SEO..unless of course you already did this in your design stage? ;)
Logged
Over 1,000 posts of joy, sNews is not only brilliant, but fun too! thanks guys :D

David

  • Hero Member
  • *****
  • Karma: 7
  • Posts: 567
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #23 on: May 12, 2006, 10:33:12 am »

Thanks Bryn! I don't have time today to change navigation to left but if you do it, if you improve the code, thanks to send it to me ;)
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #24 on: May 12, 2006, 01:23:24 pm »

Hey, av...commented on the lightbiz on your site. Nice work. One headsup from me... the images in the comments are off... Need to edit snews some ;)
Logged
"It's only dead fish that goes with the flow... "
Updated

bryn

  • Hero Member
  • *****
  • Karma: 2
  • Posts: 934
    • http://www.cssugly.com
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #25 on: May 12, 2006, 01:34:39 pm »

Quote from: avenir
Thanks Bryn! I don't have time today to change navigation to left but if you do it, if you improve the code, thanks to send it to me ;)
I don't have much time today either av..but if I get around to doing this I will of course send the file to you..and apply credit without doubt..thanks again for ALL your work :)
Logged
Over 1,000 posts of joy, sNews is not only brilliant, but fun too! thanks guys :D

dracko

  • Jr. Member
  • **
  • Karma: 0
  • Posts: 57
    • http://www.gritala.com
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #26 on: August 31, 2006, 09:37:04 pm »

I am about to add this mod to my website, the question is if this gets the meta tags from the article, what happens on the main page, does it gets any meta tag? because there it shows manny articles
Logged

dracko

  • Jr. Member
  • **
  • Karma: 0
  • Posts: 57
    • http://www.gritala.com
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #27 on: August 31, 2006, 09:53:24 pm »

anybody knows??
Logged

Luka

  • Administrator
  • ULTIMATE member
  • ******
  • Karma: 36
  • Posts: 1717
    • http://www.snewscms.com
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #28 on: August 31, 2006, 10:32:03 pm »

Let me just say that sNews 1.5 which will be available sooner then you think, has meta tags integrated.
Logged

dracko

  • Jr. Member
  • **
  • Karma: 0
  • Posts: 57
    • http://www.gritala.com
[MOD] Meta description & keywords for search engines (sNews 1.4)
« Reply #29 on: August 31, 2006, 10:50:18 pm »

great man im waiting for it, i hope it will be very easy for old 1.4 users to upgrade to 1.5
Logged
Pages: 1 [2] 3