+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: Can you enable your RSS feed?  (Read 50618 times)

Gecko_R7

  • Guest
Re: Can you enable your RSS feed?
« Reply #15 on: 22 Mar 2009, 02:03:33 am »
Try this:

http://lunatics.kwsn.net/index.php?action=.xml;type=rss;sa=news;limit=15;board=15

Gecko,
You done a wonderful job, its working great with that url! :D, well done!

You just need to post news items as new messages when you have a new release. I suppose tomorrow you can try add the rss icon to the front page and the extra bit of code for the browser auto detect if you like!

Looks good!

John.



Thanks John!!!  Couldn't have done it w/o your help & "step by steps".  ;D

Yes, let's pick-up on the rest of this tomorrow if that's OK.  I would like to complete the remaining tasks as you suggested.
Thanks again & until tomorrow.  :D
Cheers!

Offline arkayn

  • Janitor o' the Board
  • Knight who says 'Ni!'
  • *****
  • Posts: 1230
  • Aaaarrrrgggghhhh
    • My Little Place On The Internet
Re: Can you enable your RSS feed?
« Reply #16 on: 22 Mar 2009, 08:52:24 am »
I got it to work by copying an existing rss feed that I have in my bookmarks and then changing the feed URL to the new one., now I have a list of the last 7 releases.

Gecko_R7

  • Guest
Re: Can you enable your RSS feed?
« Reply #17 on: 22 Mar 2009, 10:26:40 am »
John, I added a RSS feed announcement to home page.  Would like to "pretty-up" w/ RSS feed Icon etc.

Let's finish other remaining items this eve.
Can use your help for sure  :).
Thanks!

John37309

  • Guest
Re: Can you enable your RSS feed?
« Reply #18 on: 22 Mar 2009, 10:45:26 am »
OK, just a quick question Gecko. Can you edit php files? Are you confident enough to edit them? I can give you instructions for where to put the link into your forum <head> tags.

If you are confident enough to edit the php files yourself, you can follow the instructions i give you here. If you are not confident with editing the php files, i can do it for you and email the updated php files to you!

Instructions to install the "Browser auto-detect rss feed" code if you are fimilar with php;

1. Find out what "Theme" you are using for this forum, i'm not sure, i'm not fililar with SMF.

2. When you know the "Theme", go to the directory;
YOUR-FORUM-FILES/Themes/YOUR-THEME/index.template.php

SMF comes with 3 themes, classic, babylon and default, so the directory might be;
YOUR-FORUM-FILES/Themes/default/index.template.php

3. Edit the index.template.php file and find a line of code that is similar to this;
Quote
<title>', $context['page_title'], '</title>

That line is about line 79 of the index.template.php . Just after that, add the following code;

Quote
<link href="http://lunatics.kwsn.net/index.php?action=.xml;type=rss2;sa=news;limit=15;board=15" rel="alternate" type="application/rss+xml" title="RSS 2.0" />

See how you get on with that much!  ;)

John.
« Last Edit: 22 Mar 2009, 10:47:57 am by John37309 »

John37309

  • Guest
Re: Can you enable your RSS feed?
« Reply #19 on: 22 Mar 2009, 11:04:09 am »
John, I added a RSS feed announcement to home page.  Would like to "pretty-up" w/ RSS feed Icon etc.

Let's finish other remaining items this eve.
Can use your help for sure  :).
Thanks!
Here are 3 nice rss icons you can use. Copy them to your images folder on this website;

16x16 -

24x24 -

32x32 -

John.

Gecko_R7

  • Guest
Re: Can you enable your RSS feed?
« Reply #20 on: 22 Mar 2009, 11:05:42 am »
John, I added a RSS feed announcement to home page.  Would like to "pretty-up" w/ RSS feed Icon etc.

Let's finish other remaining items this eve.
Can use your help for sure  :).
Thanks!
Here are 3 nice rss icons you can use. Copy them to your images folder on this website;

16x16 -

24x24 -

32x32 -

John.

Ahhh.....images folder.  That explains my trouble.

Now.....gotta search for the folder location.....

Gecko_R7

  • Guest
Re: Can you enable your RSS feed?
« Reply #21 on: 22 Mar 2009, 11:34:46 am »

Ahhh.....images folder.  That explains my trouble.

Now.....gotta search for the folder location.....

John:  Not having much luck.  Know where I can find the right area on the site to upload these images?  FYI.  I don't have direct access to server directory this site is hosted.  I'd have to be able to upload the image via forum/site admin controls.
« Last Edit: 22 Mar 2009, 11:47:15 am by Gecko_R7 »

John37309

  • Guest
Re: Can you enable your RSS feed?
« Reply #22 on: 22 Mar 2009, 12:52:14 pm »
Hmmmm....

I have the rss images hosted for free in photobucket, your welcome to just use them as they are, it won't cost me anything.

The url for the 24x24 rss image is; http://i109.photobucket.com/albums/n46/john502/rss/Feed_24x24.png

So i take it that you don't have access to edit the php files for this forum? If that's the case, then you can't add the browser auto-detect rss feed code.

So then you just need to play around with formatting your announcement message to add the rss image to make the message look fancy. The browser auto-detect is just an optional thing. As long as you always have your nice rss image on the front page, linked to the feed, people will see it and use the feed if they want it.

This is the BB code to use in forum messages to add the rss image linked to your feed. Click reply to this message to see the BB code;

*****************************


****************************

John.
« Last Edit: 22 Mar 2009, 12:57:57 pm by John37309 »

Gecko_R7

  • Guest
Re: Can you enable your RSS feed?
« Reply #23 on: 22 Mar 2009, 02:50:08 pm »
This sucks.
The RSS feed announcement I set-up on Home page is done via block comments.

Portal Controls > Block Mgt > Block Contents

From googling/reading I see that in block contents, one can only use block level tags?
Soo...anyone know image specific related tags, or a way to bring-in an image via block tags?

The typical methods that work via posts, aren't working @ block level.  >:(  >:(  >:(
« Last Edit: 22 Mar 2009, 03:53:37 pm by Gecko_R7 »

Gecko_R7

  • Guest
Re: Can you enable your RSS feed?
« Reply #24 on: 22 Mar 2009, 04:38:32 pm »
FIgured out a work-around : > )

Gecko_R7

  • Guest
Re: Can you enable your RSS feed?
« Reply #25 on: 22 Mar 2009, 05:05:40 pm »

3. Edit the index.template.php file and find a line of code that is similar to this;
Quote
<title>', $context['page_title'], '</title>

That line is about line 79 of the index.template.php . Just after that, add the following code;

Quote
<link href="http://lunatics.kwsn.net/index.php?action=.xml;type=rss2;sa=news;limit=15;board=15" rel="alternate" type="application/rss+xml" title="RSS 2.0" />

John.


I actually found this & have access to the index.template.php.

BTW...the rss I designated is "RSS", not RSS 2.0 in the previous set-up.

What is the major difference, or will work for most users?

Offline arkayn

  • Janitor o' the Board
  • Knight who says 'Ni!'
  • *****
  • Posts: 1230
  • Aaaarrrrgggghhhh
    • My Little Place On The Internet
Re: Can you enable your RSS feed?
« Reply #26 on: 22 Mar 2009, 06:43:25 pm »
From what I can tell, it looks like it is working just fine.

Once I changed the FF applications in preferences for web feed to FF instead of it opening in iTunes.

John37309

  • Guest
Re: Can you enable your RSS feed?
« Reply #27 on: 22 Mar 2009, 09:30:09 pm »

3. Edit the index.template.php file and find a line of code that is similar to this;
Quote
<title>', $context['page_title'], '</title>

That line is about line 79 of the index.template.php . Just after that, add the following code;

Quote
<link href="http://lunatics.kwsn.net/index.php?action=.xml;type=rss2;sa=news;limit=15;board=15" rel="alternate" type="application/rss+xml" title="RSS 2.0" />

John.


I actually found this & have access to the index.template.php.

BTW...the rss I designated is "RSS", not RSS 2.0 in the previous set-up.

What is the major difference, or will work for most users?
If you have edited the index.template.php and added the browser auto detect code, i'm not seeing it or my browser is not picking it up in FF or IE!

Also, i don't know what "Block tags" are. But either way, if you are writing the announcement message on the front page in html, you need to add this to the <img> tag;
border="0"

You need border zero to remove the border from the rss image. I see a blue border.

The rss feed is fine.

John.

Gecko_R7

  • Guest
Re: Can you enable your RSS feed?
« Reply #28 on: 22 Mar 2009, 09:51:03 pm »
Here's the current entry in block contents

<h3><a href="index.php?action=.xml;type=rss;sa=news;limit=15;board=15"> RSS Feed for New Optimized Applications Release News[/url] - Receive the latest release notifications as they happen!</h3>

The border="0" needs to fit where?

John37309

  • Guest
Re: Can you enable your RSS feed?
« Reply #29 on: 22 Mar 2009, 09:52:01 pm »
Now for the next thing to improve the rss feed!

If you read the news content of the rss feed, the news is cut very short, the rss software chops the length of each news item to 255 charictors, or about 30 to 40 words. But you can change this in the forum admin panel.

If you read the very start of the SMF explaination message - http://www.simplemachines.org/community/index.php?topic=25009.0 , one of the first things it says;
"The "Maximum post length" value determines how many characters of a post are output in the feeds. The default value is (255)"

So in the admin panel you should change this value to something much higher, maybe 1500 characters or 2000 characters might be better to output the majority of the news announcement to the rss feed. You need to play with how many characters looks best.

The SMF message says you can ajust the setting like this;
Admin -> News and Newsletters -> Settings
The "Maximum post length" value determines how many characters of a post are output in the feeds!

Try change this!

John.

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 355
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 207
Total: 207
Powered by EzPortal