Eve Support Community
Forums
Resources
Design Blox
RSS Feed From Forums on Home Page|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Groupee Newbie |
I am trying to use the content island feature to put an RSS feed of the latest forum posts on our home page in order to entice folks into the discussions.
I am using groupee/eve but the java script doesn't work. When I copy it into the index file, it just looks like gibberish code on the home page. I got what seemed like fantastic advice from April in this post , but there is a problem. When I follow her directions to get the html code for the feed and paste it into the home page, while it looks really nice, I have realized that it then ceases to actually be an updating feed. Could someone please give me some guidance to come up with an RSS feed that updates on it's own? |
||
|
|
Groupee Newbie |
|
|||
|
|
Groupee Virtuoso |
Hi, Sonofwalt.
I just got back from vacation, and saw your post. Can you post a link to the index page you're talking about? It may give me a better idea of what you're trying to do. Paul Gude Groupee Guide |
|||
|
|
Groupee Newbie |
Thanks, Paul! I hope you got to enjoy someplace warm for vacation. It's been quite cold here in central Pennsylvania.
Sure, our home page is here . At the bottom center you'll see the "Current Discussions." That is from the content Island. I know in eve it gives me the java script to copy, but that didn't hang together on the home page at all. It was just tons of code. So I followed April's Advice from back on these boards here. But I see I was being a bit of a dunce. All I did was copy the source html code. That explains why what I get is not an actual RSS feed, but a static link to whatever the latest posts were when I looked up the javascript source code. Looking at this again now, I see that what I was supposed to look at there was the classes for the css so that the java script will work. I am honestly a total novice and have so much to learn, so I need to do a bit more study here. Please forgive the cry of panic. And thanks for reading. |
|||
|
|
Groupee Virtuoso |
Normally, pasting the the Javascript code into your HTML is all you'd need to do to get the content island to show up.
I'm wondering if there's something about the HTML that's already present that is affecting the way the content island Javascript code is interpreted. I you put the javascript on a blank test HTML page, does it display correctly? If it does, I would suggest making a test index page with the same code as your original, putting the content island javascript on there, and then commenting out the other code until you find the piece that's conflicting. Paul Gude Groupee Guide |
|||
|
|
Groupee Newbie |
No, when I tried to paste it into a blank html page I got the following.
Not sure why it doesn't work. |
|||
|
|
Groupee Newbie |
I was hoping it would display on it's own at your suggestion, but upon hitting preview that's what I got. I am wondering if I am missing a simple html java tag at the begining, but the tag itself looks like this:
<script language="JavaScript" type="text/javascript" src="http://gayfatherhood.com/eve/forums?a=ci&ci_id=50110285&s=38810185"></script> |
|||
|
|
Groupee Virtuoso |
Can you give me the URL of the page where you tried this out?
I made a test page with that exact javascript call and it seems to work fine: http://www.sgnp.com/gf_test.html Paul Gude Groupee Guide |
|||
|
|
Groupee Newbie |
Okay, I saw what you did and I tried again. This time I actually saved the file first rather than just looked at it through the "Preview" feature. It did work, on my test page too after I saved it.
Okay, so next to copy the javascript back into my test file with all the same css, etc. as the index page and see if it holds together. I'll let you know how it goes. Thanks! |
|||
|
|
Groupee Newbie |
okay, I feel like an idiot now.
Yes, it does work. It seems that if I hit the "preview html" button before I hit save, I will see all the gibberish. Unfortunately that just means that the preview feature is helpful to me only for basic html, not java script, but the content island displayed very nicely once I hit save. I hope that makes sense. I just didn't get that far before because I was relying on the preview. Ah well, now I've learned something more. It's been an adventure! Thank you so much, Paul, for your patience and helpful suggestions. |
|||
|
|
Groupee Virtuoso |
It makes perfect sense. I can't believe I didn't think of that possibility. I'm glad it worked out!
Paul Gude Groupee Guide |
|||
|
|
Groupee Newbie |
So often it's the simplest of things. That's something I keep trying to remember. Maybe some day I'll get good at this.
Thanks again! |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Eve Support Community
Forums
Resources
Design Blox
RSS Feed From Forums on Home Page
