Rank: Member
Joined: 11/13/2007(UTC) Posts: 22
|
I have a custom page for news and I want to run several RSS feeds on it. I created a column but not certain how I get it to the custom page.
Thank you in advance for your help.
Chris
|
|
|
|
Rank: Member
Joined: 11/13/2007(UTC) Posts: 22
|
Bump.... Anyone?? How to run RSS Feeds on a custom page? Like yourdomain.com/news.aspx?
Thanks.
|
|
|
|
Rank: Member
Joined: 11/13/2007(UTC) Posts: 22
|
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
Can't you open an HTML content box and add your RSS html? |
|
|
|
|
Rank: Member
Joined: 11/13/2007(UTC) Posts: 22
|
I can but it doesn't show the articles titles in the source code so search engines won't pick up the keywords. I assumed the RSS modules in the software brings over the keyword riched content, does it not?
|
|
|
|
Rank: Member
Joined: 1/27/2004(UTC) Posts: 38
|
You mean you want to show the article excerpt too? Out of the box the RSS viewer only shows the title, which links to the blog post. To get the description to show up too, open BVModules\ContentBlocks\RSS Feed Viewer\view.ascx
Find the line that reads: <asp:Label Visible="false" ID="Label1" runat="server" Text='<%#Bind("Description") %>'></asp:Label>
Change Visible="false" to Visible="true"
|
|
|
|
Rank: Member
Joined: 11/13/2007(UTC) Posts: 22
|
Thank you Morgan.
Do you know a way to use the Rss viewer module on a custom page?
Thanks,
Chris
|
|
|
|
Rank: Member
Joined: 1/27/2004(UTC) Posts: 38
|
Ahhh. I see. There's no magic button to add an RSS feed viewer with the built-in custom page functionality in the back end, like there is for the home page, is there? Off the top of my head, I'd say you need to copy the custom.aspx and custom.aspx.vb pages, rename them to something like news.aspx/vb. Then manually add and register the RSSFeed control, and set the feed urls manually. This means any time you want to update a feed you'd have to manually edit the file... no fun.
I suppose..... you could create a new content column in the back end, name it something like RSS Feeds, then add dynamic RSS feed controls to your heart's content. Then, you need to create a custom page (manually, like described above), register the content column control, and reference that column by name.
I'm going to play around some, then post the results.
|
|
|
|
Rank: Member
Joined: 1/27/2004(UTC) Posts: 38
|
Yep. It seems to be easiest to work from the default.aspx and default.aspx.vb pages. So, I went into the back end, Content tab, Columns. New column, name it "RSS Feeds". Add some feeds, Save. Then, create a custom page based off of default.aspx. I've uploaded them to this post. File Attachment(s): news.aspx.vb (1kb) downloaded 149 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Member
Joined: 11/13/2007(UTC) Posts: 22
|
Your the best. I'm gonna play with it in a bit and see if I can get it to work.
|
|
|
|
Rank: Member
Joined: 11/13/2007(UTC) Posts: 22
|
Hey.. I got it working.
Any idea how to make the links within the feed go to a _blank (pop-up) screen instead of using the same browser window?
Thanks,
Chris
|
|
|
|
Rank: Member
Joined: 1/27/2004(UTC) Posts: 38
|
Edit the rss control under BVModules\ContentBlocks\RSS Feed Viewer\view.ascx
Add Target="_blank" to the asp hyperlink control, like so:
<asp:HyperLink Target="_blank" ID="HyperLink1" runat="server" NavigateUrl='<%#Bind("Link") %>' Text='<%#Bind("Title") %>'></asp:HyperLink><br />
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.