I want to include and RSS feed (Local News from BBC) on a page.
I have tried the service of
htpp://wwww.rssinclude.com
It places the feed on the page fine - I placed the code generated into a markup item.
Problem is the feed will not update - even if I refresh the page at different times.
There is a note about this: “The service of rssinclude.com uses a caching mechanism for RSS feeds. This means that the feed contents are stored in our database for some time before being refreshed by the system.”
The test I have, hasn’t updated all evening.
Has anyone any pointers as to how add this feed successfully?
This one generates a feed from your site, what it appears that Trev
wants to do is publish the BBC feed on his site. If you have a look at
the ReadFeed Action at ActionsForge, that should get you what you
need. And the cache in that case will be local and under your own
control.
OK applied the RSS Feed action to the html box and
I am getting this:
Warning: fopen(feed://newsrss.bbc.co.uk/rss/newsonline_uk_edition/northern_ireland/rss.xml) [function.fopen]: failed to open stream: No such file or directory in /home/fhlinux140/t/trevormckay.co.uk/user/htdocs/rss/Resources/Feed.php on line 31
could not open XML input
Couple of questions:
Is the url: correct for this - I can only see the link in the Safari address bar when I access the N. I news feed on the BBC Site. Mentions in the action notes to get the correct address not the safari one! and
when I change permission using chmod I have set following
set permissions to the directory _cache
Owner Read Write Execute
Group Read (no write no execute)
Everyone (no read write or execute)
Chmod value is 740
and options:
Chmod also the sub directories within this directory and
Chmod also the files within this directory
an not ticked.
Make the link to the RSS start with http:// rather than feed:// and
you should be good to read the remote file. For the cache, set your
permissions to 777 for the cache directory, and once you figure out
what user your server is running as, you can tighten those
permissions. Whichever Unix user the Web server runs as (some servers
have a separate unprivileged user just for that) will need to have
read, write and execute permissions on the cache folder in order to
save files there.
Walter
On Dec 19, 2009, at 7:19 AM, t50ufo wrote:
Ah! not there yet.
OK applied the RSS Feed action to the html box and
I am getting this:
Warning: fopen(feed://newsrss.bbc.co.uk/rss/newsonline_uk_edition/northern_ireland/rss.xml
) [function.fopen]: failed to open stream: No such file or directory
in /home/fhlinux140/t/trevormckay.co.uk/user/htdocs/rss/Resources/
Feed.php on line 31
could not open XML input
Making progress.
I can now see the RSS feed on my test page.
As for the rest of the settings you mention: I can only see the settings as I outlined earlier. Can you expand on what I should be doing about those?
What are you using for FTP? If it’s Transmit, select one of the cache
files generated on your server by the script (inside the _cache
folder), press Apple i and see “who” made it.
Walter
On Dec 19, 2009, at 8:21 AM, t50ufo wrote:
Making progress.
I can now see the RSS feed on my test page.
As for the rest of the settings you mention: I can only see the
settings as I outlined earlier. Can you expand on what I should be
doing about those?
I’m not sure how to read an owner number. You’ll need to find out the
actual username associated with that number first. Once you know that
(and Transmit has a 30-day demo which will tell you instantly) if you
have shell access to your server, you would make the permissions for
the _cache folder thusly:
That will get you the security that your current setup does not offer.
You want the folder (and its contents) to be world-readable, so that
means 644 for the files (and the ReadFeed script sets that) and 755
for the cache folder itself.
If you don’t have shell access, file a ticket with your hosting
provider’s help desk and ask them to set the permissions as above. If
you leave the folder world-writable, there’s very little risk that
anyone could upload a malicious file into that folder from within your
site. But if you are on a shared server (most are) you do have to
worry about someone else on that same server running PHPBB or another
well-known hacking target.
Nearly finished this site but:
I have added a different TITLE meta content (Page > meta tags > User > ‘TITLE’) to each page on this site… http://www.jamesmarshallgolfacademy.co.uk
If I name if the first page ‘jamesmarshall’ it is not found on the server.
The server Helpdesk tell me its because there is no ‘index’ file.
The page title and file name are different things. Your web server
will look for a file with a specific name when someone visits your web
site without specifying the page (http://www.jamesmarshallgolfacademy.co.uk/
or http://www.jamesmarshallgolfacademy.co.uk/my-folder/ for
example). Typically this is index.html but can be one of any number of
different file names depending on the server and how it was set up.
Make sure you have nothing selected on the page and look in the
Inspector palette. You’ll see that the first tab has a field for the
page title and file. The file field is the name of the html file
itself so should be changed to index.html. The title field should be
changed to ‘James Marshall Golf Academy’ (without the quotes) or
whatever you want it to be.
Here’s an example;
Preview your page in the browser and you should see the name of the
page (the title) appear at the top of the browser window and if you
try and bookmark the page.
Regards,
Tim.
On 22 Dec 2009, at 09:23, Adrian Williams wrote:
Hello,
Nearly finished this site but:
I have added a different TITLE meta content (Page > meta tags > User
‘TITLE’) to each page on this site… http://www.jamesmarshallgolfacademy.co.uk
If I name if the first page ‘jamesmarshall’ it is not found on the
server.
The server Helpdesk tell me its because there is no ‘index’ file.
On further investigation, this Softpress Knowledgebase article seems to suggest that the
page TITLE meta description will be lost if the frameset page contents have elements inside another.
TITLE in the outermost frameset will be displayed in the title bar and I guess found by Google and the like.
( http://www.softpress.com/kb/questions/200/Framesets+always+display+the+same+title+in+the+browser )
I have not made any frameset pages in this website, but maybe Search Engines and Tag Analyzers think it is?
Does anyone have experience of this happening?
Thanks,
Adrian
On 22 Dec 2009, at 09:23, Adrian Williams wrote:
Hello,
Nearly finished this site but:
I have added a different TITLE meta content (Page > meta tags > User > ‘TITLE’) to each page on this site… http://www.jamesmarshallgolfacademy.co.uk
If I name if the first page ‘jamesmarshall’ it is not found on the server.
The server Helpdesk tell me its because there is no ‘index’ file.
Hi Adrian,
Your page isn’t in a frame set. Follow the instructions in my last
post to set the page title and you should be set.
Regards,
Tim.
On 22 Dec 2009, at 18:48, Adrian Williams wrote:
So,
On further investigation, this Softpress Knowledgebase article seems
to suggest that the
page TITLE meta description will be lost if the frameset page
contents have elements inside another.
TITLE in the outermost frameset will be displayed in the title bar
and I guess found by Google and the like.
( http://www.softpress.com/kb/questions/200/Framesets+always+display+the+same+title+in+the+browser
)
I have not made any frameset pages in this website, but maybe Search
Engines and Tag Analyzers think it is?
Does anyone have experience of this happening?
Hi Tim,
Did not get your last post. Can’t find it in this forum.
I searched for posts with your email and this Subject, but cannot see anything.
Thanks,
Adrian
On 22 Dec 2009, at 20:05, Tim Plumb wrote:
Hi Adrian,
Your page isn’t in a frame set. Follow the instructions in my last post to set the page title and you should be set.
Regards,
Tim.
On 22 Dec 2009, at 18:48, Adrian Williams wrote:
So,
On further investigation, this Softpress Knowledgebase article seems to suggest that the
page TITLE meta description will be lost if the frameset page contents have elements inside another.
TITLE in the outermost frameset will be displayed in the title bar and I guess found by Google and the like.
( http://www.softpress.com/kb/questions/200/Framesets+always+display+the+same+title+in+the+browser )
I have not made any frameset pages in this website, but maybe Search Engines and Tag Analyzers think it is?
Does anyone have experience of this happening?
Followed the link and its instructions - thanks.
Edited the name in the left hand tree to “James Marshall Golf Academy” which is the intended page TITLE
Nothing selected on the page.
Clicked the inspector palette and changed the file to index.html
So far so good.
As soon as I click outside the inspector palette, the file field reverts to: jamesmarshallgol.html
I’ve tried several way to do this, changing first the Title field then the file field. Nothing works.
Here is what happens in the inspector palette: http://www.clubtype.co.uk/freeway/inspect_x.tiff
I understand the principle, but this seems like odd behaviour.
Am I still doing something wrong?
Only way I can resolve it is to go separately to the server login and change the file jamesmarshallgol.html.html
to index.html. But surely this step should not be necessary?
Site is error 403 Forebidden at moment.
Hi Adrian,
If you change the page title the name will automatically get updated.
this is good and means that the file name resembles the page title.
If, however, you change the file name manually in the inspector
palette then Freeway remembers this and keeps your file name
regardless of the title you then give the page.
Try this;
Set the page title to “James Marshall Golf Academy”
Click on the file name in the inspector palette and change this to
“index.html”
Hit the return key
The page title and file name should now be set.
Regards,
Tim.
On 23 Dec 2009, at 15:04, Adrian Williams wrote:
Tim,
Followed the link and its instructions - thanks.
Edited the name in the left hand tree to “James Marshall Golf
Academy” which is the intended page TITLE
Nothing selected on the page.
Clicked the inspector palette and changed the file to index.html
So far so good.
As soon as I click outside the inspector palette, the file field
reverts to: jamesmarshallgol.html
I’ve tried several way to do this, changing first the Title field
then the file field. Nothing works.
Here is what happens in the inspector palette: http://www.clubtype.co.uk/freeway/inspect_x.tiff
I understand the principle, but this seems like odd behaviour.
Am I still doing something wrong?
Only way I can resolve it is to go separately to the server login
and change the file jamesmarshallgol.html.html
to index.html. But surely this step should not be necessary?
Site is error 403 Forebidden at moment.
Tim,
BINGO! That worked.
All I needed to do was hit the Return key after entering index.html to confirm the change.
Many thanks again for your invaluable help. The home page now displays the correct page TITLE in searces.
Regards,
Adrian
On 23 Dec 2009, at 15:12, Tim Plumb wrote:
Hi Adrian,
If you change the page title the name will automatically get updated. this is good and means that the file name resembles the page title. If, however, you change the file name manually in the inspector palette then Freeway remembers this and keeps your file name regardless of the title you then give the page.
Try this;
Set the page title to “James Marshall Golf Academy”
Click on the file name in the inspector palette and change this to “index.html”
Hit the return key
The page title and file name should now be set.
Regards,
Tim.
On 23 Dec 2009, at 15:04, Adrian Williams wrote:
Tim,
Followed the link and its instructions - thanks.
Edited the name in the left hand tree to “James Marshall Golf Academy” which is the intended page TITLE
Nothing selected on the page.
Clicked the inspector palette and changed the file to index.html
So far so good.
As soon as I click outside the inspector palette, the file field reverts to: jamesmarshallgol.html
I’ve tried several way to do this, changing first the Title field then the file field. Nothing works.
Here is what happens in the inspector palette: http://www.clubtype.co.uk/freeway/inspect_x.tiff
I understand the principle, but this seems like odd behaviour.
Am I still doing something wrong?
Only way I can resolve it is to go separately to the server login and change the file jamesmarshallgol.html.html
to index.html. But surely this step should not be necessary?
Site is error 403 Forebidden at moment.