I tried tackling this problem about 6 months ago, but after going
almost completely insane I gave up, since my news feed seemed to
display just fine anyways. However, in an effort to have my feeds in
complete compliance, I am trying to deal with the problem again.
When I try to validate my feeds I get the following error:
Line 17, column 0: Invalid HTML: unknown declaration: u'BR', at line
5, column 124 (277 occurrences) [help]
<BR>" ;<a target="_b lank" href="http ://
forumserve ...
So it's the "<BR> " that's causing the problem.
I went through the help and tried what it recommends, using & to
escape the code (like so: &lt;BR& gt;), but then not only do I
still get this error, but none of my actual web pages that display
this same content work anymore either.
Are there any experts out there that have run into this before? 8 2341
Greg C. wrote:
I tried tackling this problem about 6 months ago, but after going
almost completely insane I gave up, since my news feed seemed to
display just fine anyways. However, in an effort to have my feeds in
complete compliance, I am trying to deal with the problem again.
When I try to validate my feeds I get the following error:
Line 17, column 0: Invalid HTML: unknown declaration: u'BR', at line
5, column 124 (277 occurrences) [help]
<BR>" ;<a target="_b lank" href="http ://
forumserve ...
So it's the "<BR> " that's causing the problem.
Can you post the URL to a minimal but complete feed that shows the
problem and also post the URL of the feed validator you use?
--
Martin Honnen http://JavaScript.FAQTs.com/
On Aug 11, 10:43*am, Martin Honnen <mahotr...@yaho o.dewrote:
Greg C. wrote:
I tried tackling this problem about 6 months ago, but after going
almost completely insane I gave up, since my news feed seemed to
display just fine anyways. However, in an effort to have my feeds in
complete compliance, I am trying to deal with the problem again.
When I try to validate my feeds I get the following error:
Line 17, column 0: Invalid HTML: unknown declaration: u'BR', at line
5, column 124 (277 occurrences) [help]
* * *<BR>&quo t;<a target="_b lank" href="http ://
forumserve ...
So it's the "<BR> " that's causing the problem.
Can you post the URL to a minimal but complete feed that shows the
problem and also post the URL of the feed validator you use?
--
* * * * Martin Honnen
* * * *http://JavaScript.FAQTs.com/
The feed is: http://greg.ca/facebook-feed/
The validator is: http://www.feedvalidator.org
On Aug 11, 11:12*am, Martin Honnen <mahotr...@yaho o.dewrote:
Greg C. wrote:
The feed is:http://greg.ca/facebook-feed/
What is
* *<!BR>< ;!BR>
supposed to be? That exclamation mark does not seem to belong in there.
--
* * * * Martin Honnen
* * * *http://JavaScript.FAQTs.com/
It's just a commented out <BR>, ie <!BR>, so that it doesn't actually
render.
Oh dear god, please tell me that's not what's causing this problem.
On Aug 11, 11:46*am, "Greg C." <greg...@gmail. comwrote:
On Aug 11, 11:12*am, Martin Honnen <mahotr...@yaho o.dewrote:
Greg C. wrote:
The feed is:http://greg.ca/facebook-feed/
What is
* *<!BR>< ;!BR>
supposed to be? That exclamation mark does not seem to belong in there.
--
* * * * Martin Honnen
* * * *http://JavaScript.FAQTs.com/
It's just a commented out <BR>, ie <!BR>, so that it doesn't actually
render.
Oh dear god, please tell me that's not what's causing this problem.
WOW!! After all the time I put into this, and all the fixes/
workarounds I tried, that WAS the problem!! Unbelievable.
It's amazing how a simple question can make you start thinking on a
totally different path.
Thank you so much Martin!
Greg C. wrote:
It's just a commented out <BR>, ie <!BR>, so that it doesn't actually
render.
Is that proper SGML/HTML comment syntax in your view, or just some
syntax you made up?
Try whether removing that part makes the validator happy, to me it looks
like the most probably cause of that warning.
--
Martin Honnen http://JavaScript.FAQTs.com/
On Aug 11, 11:53*am, Martin Honnen <mahotr...@yaho o.dewrote:
Greg C. wrote:
It's just a commented out <BR>, ie <!BR>, so that it doesn't actually
render.
Is that proper SGML/HTML comment syntax in your view, or just some
syntax you made up?
Try whether removing that part makes the validator happy, to me it looks
like the most probably cause of that warning.
--
* * * * Martin Honnen
* * * *http://JavaScript.FAQTs.com/
I'm not sure if it's proper syntax, but it's worked for years so I've
always done it for testing purposes (ie. if I want to see how
something works without an HTML tag but I don't want to have to
actually take it out and then put it back in after the test). I've
used this for as long as I can remember and have never had a problem
before, but I guess now that it's being processed through XML (my
first attempt at XML/news feeds), it does in fact cause issues.
I removed those from the RSS generation code, changed the limit from 5
posts to ALL posts for that feed, and now absolutely everything
validates. I can't believe that's what the problem was... I feel like
such a moron :P
On 11 Aug, 17:02, "Greg C." <greg...@gmail. comwrote:
On Aug 11, 11:53*am, Martin Honnen <mahotr...@yaho o.dewrote:
Greg C. wrote:
It's just a commented out <BR>, ie <!BR>, so that it doesn't actually
render.
I'm not sure if it's proper syntax, but it's worked for years so I've
always done it for testing purposes (ie. if I want to see how
something works without an HTML tag but I don't want to have to
actually take it out and then put it back in after the test). I've
used this for as long as I can remember and have never had a problem
before, but I guess now that it's being processed through XML (my
first attempt at XML/news feeds), it does in fact cause issues.
FWIW I've often commented out HTML tags using something like <xBR>.
The x obviously turns it into an unknown tag which is ignored.
The full commenting out would naturally require something like: <!--
BR-->
HTH,
Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://www.codalogic.com/lmx/ for more info This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: lkrubner |
last post by:
I've a client who, I think, writes his essays in Microsoft Word on a
Macintosh, then copies and pastes it to a form to upload it to his
weblog. The weblog then creates an RSS feed. The weblog and RSS feed
are created using a simple PHP script I wrote.
His RSS feed is not validating, apparently because of the Word "smart
quotes". This is a guess on my part. I need to find out for sure what
character is causing the rss failure. How do I do...
|
by: news.tie.cl |
last post by:
Hello to all, I am developing an application ASP and desire to
validate the fields of dates before jumping to consultation SQL, the dates
is entered text boxes and the idea is that been worth when losing the Focus.
How I can do that? Thanks.
--
Marco Antonio Artus S.
|
by: Ayende Rahien |
last post by:
I've the following code, taken from
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexxml/html/xml02172003.asp
to select a node from RSS file.
However, I'm always getting a null returning for the SelectSingleNode(),
when trying to load a RSS 1.0 document, (which has a default namespace)
why?
if(feed.DocumentElement.LocalName.Equals("RDF") &&
feed.DocumentElement.NamespaceURI.Equals("http://www.w3.org/1999/02/22-rdf-s...
|
by: Michael Adams |
last post by:
I don't know if you have noticed, but it seems like Microsoft is losing
interest in C#, and putting their energy into Visual Basic.NET instead.
For instance, online chats by language since July 1, 2004:
VB.NET 47
C# 6
C++ 8
J# 0
|
by: K. Shier |
last post by:
when i have the following code inside the .vb file that defines 'Public
MustInherit Class frmDataEntry', if i try to open a derived form based on
frmDataEntry, i get an error "Could not find any resources appropriate for
the specified culture...".
a little googling on this error made it simple to find the meaning, but
since it's one of those awesome situations where the error message bears NO
MEANINGFUL RELATION WHATSOEVER to the error's...
| |
by: Steven |
last post by:
Hi,
I am trying to position 2 columns of links so that the first is at the
left of the page and the second is at the right. The lines in each
column should be left-justified.
I have managed to achieve this by using 'nowrap' for each links column
and adding a middle column with 'width=100%'. However, this seems a bit
fragile as it is dependent on the resolving the layout conflict. If the
percentage width attribute has a lower weight...
|
by: light of mind. heavy of belly |
last post by:
Hi,
I need to validate that at one of 2 textboxes has some data in it. Is it
possible to hook the validation system to do this bearing in mind that empty
textboxes are not evaluated?
Thanks for your ideas.
|
by: webrod |
last post by:
Hi,
I have some php pages with a lot of HTML code.
I am looking for a HTML validator tool (like TIDY).
TIDY is not good enough with PHP tags (it removes a lot of php code).
Do you have any idea?
Thanks you very much
|
by: =?Utf-8?B?QnJpYW4gQ29vaw==?= |
last post by:
How do I validate that there are xx number of bytes data after a given spot.
Here is an example;
2008/04/24 19:16:50 ARES_EINDICATION 010.050.082.108 117.3.01
(1d61) RX 68 bytes 1D 61 26 02 34 E8 AA 20 76 97 51 28 50 76 38 64
49 00 58 02 02 C7 88 01 C7 88 AA 50 76 38 64 49 20 76 97 51 28 D8 07 04 18 13
10 2F 00 00 10 0A 06 0A 06 06 0A 06 0A 06 06 06 06 06 06 06 06 73 74 69 9C 19
Where the line reads 68 bytes, I need to...
|
by: Miro |
last post by:
I am having an annoying vs2008 pro ( vb ) issue.
I have a custom class for a date cell for the datagridview column.
I use the column in the datagrid on a cell.
And every once in a while - the form cannot be displayed because it thinks
the 'DataGridViewDateColumn' doesnt exist.
"Count not find type ' .. and its like the datagridviewdatacolumn.vb i have
in my project is not compiled.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |