The thing is, your feed will always do that anyway. It’s a function of the thing that generates the feed, nothing else. The reader just shows the content in the order presented (which is, by tradition, latest thing first).
Walter
On Mar 17, 2013, at 4:57 AM, PeterH wrote:
The clincher for me (in deciding to give up doing it myself) is that the feed “box” auto updates, bringing the latest feeds to the top as well.
Just wondered Walter if you had a link to a functioning example of the feed2js action for me to look at.
I don’t suppose I’ll see anything you won’t have already seen at all but so that I can see it working.
Is there a way to constrain the size of the actual box the content of the feeds are in?
I’m keen to make use of the action as it allows me to keep things more self contained than using other services and with the linking issue resolved having more control of the content for the front page.
I had this pulling the latest Actions from the forge when I first posted it, but something is wrong with FeedBurner at the moment, and it’s not working there. So I changed it to Apple’s “hot news” feed. The Action specifically removes the height attribute from the element you apply it to, so if you want to make it appear within a scrolling box (to limit its size on screen) then you would need to nest the feed element inside another HTML box (as an inline element) and apply the overflow:scroll setting to that outer box. The Action lets you select how many stories you show at a time, but you can’t control how large the description will be for each one – especially if it’s not your feed.
Walter
On Mar 17, 2013, at 3:46 PM, tonzodehoo wrote:
Just wondered Walter if you had a link to a functioning example of the feed2js action for me to look at.
I see now looking at the example you have setup where the url should be referenced between the two double quotation marks. They are not visible in the html in the test version I have set up. And yet when I cut and paste the very same html to here then the double quotation marks are there.
How should the url be called up into the space between the two quote marks?
Is this the line where it should be called in (For want of the correct expression!)
You are deep inside the PHP that converts the XML to HTML in this snippet. I never touch that when I use this function. You need to call the function with arguments. My JavaScript sends an Ajax request to feed2js.php with a querystring containing src=http://url/of/the/feed.xml. Line 51 of my (concatenated) feed2js.php file sets up the $src argument used inside the rest of the script by converting the $_GET[‘src’] variable into a local variable. This gets used again at line 2470 of the same file, in the fetch_rss() function.
$rss = @fetch_rss( $src );
What you might try there, as a debugging step, is to remove the @ sign from that line. (Do this directly on your server. Use a tool like Transmit to open the file directly and edit it in place. Leave it open, so you can revert it by Undo and Save.) See what sort of ugliness erupts when you do this. If you see a big error at this point, copy it down for reference and then undo and save to put the error suppression back in place. (That’s what the @ sign does in PHP.)
Walter
On Mar 18, 2013, at 6:25 AM, tonzodehoo wrote:
Hello again Walter,
I see now looking at the example you have setup where the url should be referenced between the two double quotation marks. They are not visible in the html in the test version I have set up. And yet when I cut and paste the very same html to here then the double quotation marks are there.
How should the url be called up into the space between the two quote marks?
Is this the line where it should be called in (For want of the correct expression!)
I have added the following to my page before /head and no matter what combinations I have tried, including using !important, the look of the feed remains the unchanged.
Just to follow up on my last post I went direct to the website at http://feed2js.org to create the code and style my feed which worked well when added to the Freeway page.
Thanks for this.
It seemed quite promising but sadly I am no further forward with this.
I have used the feedsjs.org site to generate the rss feed but it creates the same issue of non linking links i.e. links which appear to be valid but which don’t actually link to the content.
On the left is the feed created from the website and on the right is the feed using the feed2js action. Both produce what look like valid feeds but neither link to the content.
This will be something daft, including me of course, which will be the issue. Whatever it is it is very frustrating.
AS a bit of an addendum to this I have used a simple means to link to the actual php source of the feeds by placing a graphic box over the top of the feed box with a link to the start of the forums.
Its a crude way of achieving a bit of what I’m hoping to do.
I have used the same settings with some of my RSS feeds and with your one. The code it generates for my feeds works but I see the same problems with your RSS feed links not being passed through.
Unfortunately I’m not skilled enough to know why this is happening so hopefully someone else can help you out.