I have built a website in which I want to add a specific news feed. I have the code (http://www.bymnews.com/2007/Code.txt) and tried to put it into my news page as html mark up however all I am getting is the code reproduced on the page. Is there an error in the code or am I being stoopit?
ta in advance…
Could you post a link to the non-working page so we can see it in
context? Also, are you testing this on a Web server, or using the
Preview in Browser or regular Preview within Freeway? You won’t be
able to see code render as anything useful in the latter two options.
Walter
On Oct 24, 2008, at 9:18 AM, Gavin Meldrum wrote:
I have built a website in which I want to add a specific news feed.
I have the code (http://www.bymnews.com/2007/Code.txt) and tried to
put it into my news page as html mark up however all I am getting
is the code reproduced on the page. Is there an error in the code
or am I being stoopit?
ta in advance…
http://www.hcsoc.org/news.html is the location I want the code to work in. I tried both preview and online to test it and, as you see all it does it replicate the code on the screen not the result of the code which I hoped would be similar to the bym news page.
Thanks for taking the time out to assist me Walter.
If you can be bothered to review the rest of the site I would appreciate it.
Your problem is happening because whomever posted this code assumed
you would copy it from a browser, not open the text file and use it
directly. All the control characters were encoded for display on a
Web page, so < and > were encoded as their entity replacements:
< and >
And that made the whole thing fail to work at all.
There were some other issues, which mostly had to do with valid HTML
style. You can pick up the corrected code here:
Be sure to click on the little “view” link on that page and copy what
you see in the browser directly.
Walter
On Oct 24, 2008, at 11:47 AM, Màs Dubh wrote:
http://www.hcsoc.org/news.html is the location I want the code to
work in. I tried both preview and online to test it and, as you see
all it does it replicate the code on the screen not the result of
the code which I hoped would be similar to the bym news page.
Thanks for taking the time out to assist me Walter.
If you can be bothered to review the rest of the site I would
appreciate it.