1 m4ndr4k3 Apr 02, 2007 16:14
3 afwas Apr 02, 2007 16:32
1) You'd better tell the people what this is all about, like giving a reference to http://forums.b2evolution.net/viewtopic.php?t=11280&start=0&postdays=0&postorder=asc&highlight=
2) Better check the site of the ad program that is causing the trouble. They must have seen this before.
Good luck.
4 edb Apr 02, 2007 16:50
m4ndr4k3 there was no need to paste in the entire error message when you could have linked to the validation page. That's what I've done BTW - replaced the entire text with the link to the page that shows the errors. You also could have simply continued on the thread you initially started for this topic.
As you've already learned, this is an error with the code you added. As the message from the validator, and rhs98 pointed out, simply move the style to where it belongs and replace "&" with "&" and your errors will clear up.
5 m4ndr4k3 Apr 02, 2007 17:26
EdB wrote:
m4ndr4k3 there was no need to paste in the entire error message when you could have linked to the validation page. That's what I've done BTW - replaced the entire text with the link to the page that shows the errors. You also could have simply continued on the thread you initially started for this topic.
As you've already learned, this is an error with the code you added. As the message from the validator, and rhs98 pointed out, simply move the style to where it belongs and replace "&" with "&" and your errors will clear up.
sorry for the double post.
I'm trying to fix it
6 m4ndr4k3 Apr 02, 2007 17:43
ok...i've fixed some errors...
How can i fix the last error?
I've tried to put the code between <head></head> but the errors increase.
7 afwas Apr 02, 2007 17:46
You must remove
<style type="text/css">
.adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #339999;}
.adText {font: normal 10pt Arial; text-decoration: none; color: #000000;}
</style>
from the body and put it into the header of the _main.php file.
8 rhs98 Apr 02, 2007 17:49
rhs98 wrote:
The style - just move it to the header (between <head> and </head>
Afwas wrote:
You must remove
<style type="text/css"> .adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #339999;} .adText {font: normal 10pt Arial; text-decoration: none; color: #000000;} </style>
from the body and put it into the header of the _main.php file.
:idea:
The other idea is to change the doc-type to a less strict one :lol:
9 afwas Apr 02, 2007 17:51
My guess is m4ndr4k3 only moved
<style type="text/css">
to the header
:>
10 m4ndr4k3 Apr 02, 2007 17:55
Afwas wrote:
You must remove
<style type="text/css"> .adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #339999;} .adText {font: normal 10pt Arial; text-decoration: none; color: #000000;} </style>
from the body and put it into the header of the _main.php file.
Thanx Afwas:)
Now it's ok...just another error(I'm using two skin)
What can i do for this ?
[url=http://validator.w3.org/check?uri=http%3A%2F%2Fmakemoney.netsons.org%2Fitalian.php]Validation second skin[/url][/url]
11 afwas Apr 02, 2007 17:56
No capitals, so src in stead of SRC.
12 m4ndr4k3 Apr 02, 2007 17:57
Afwas wrote:
My guess is m4ndr4k3 only moved
<style type="text/css">
to the header:>
O_O
I moved all the code as written above?!
13 m4ndr4k3 Apr 02, 2007 18:00
rhs98 wrote:
rhs98 wrote:
The style - just move it to the header (between <head> and </head>
Afwas wrote:
You must remove
<style type="text/css"> .adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #339999;} .adText {font: normal 10pt Arial; text-decoration: none; color: #000000;} </style>
from the body and put it into the header of the _main.php file.:idea:
The other idea is to change the doc-type to a less strict one :lol:
I'm not a coder :D
You wanna make me crazy ? :lol:
14 afwas Apr 02, 2007 18:02
When the validator sais there are no errors, then you did a great job. :p
15 m4ndr4k3 Apr 02, 2007 18:03
Afwas wrote:
When the validator sais there are no errors, then you did a great job. :p
another error and then stop :D
16 afwas Apr 02, 2007 18:09
Click the help button next to the error line and [url=http://feedvalidator.org/docs/warning/SelfNotAtom.html]this page[/url] comes up.
17 m4ndr4k3 Apr 02, 2007 18:17
Afwas wrote:
Click the help button next to the error line and [url=http://feedvalidator.org/docs/warning/SelfNotAtom.html]this page[/url] comes up.
Yes i read it but i don't understand :)
In the _main file the code is
<link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>" />
18 afwas Apr 02, 2007 18:23
This atom feed is generated by the atom skin at ../blogs/skins/_atom/_main.php where it reads on line 60:
<link rel="self" type="text/html" href="<?php $Blog->disp( 'atom_url', 'xmlattr' ) ?>" />
19 m4ndr4k3 Apr 02, 2007 19:01
Afwas wrote:
This atom feed is generated by the atom skin at ../blogs/skins/_atom/_main.php where it reads on line 60:
<link rel="self" type="text/html" href="<?php $Blog->disp( 'atom_url', 'xmlattr' ) ?>" />
I replaced self with alternate but i get other errors...
so i left as it is.
Thanx for you help Afwas
Most of those you can solve by using & instead of & in the urls.
The style - just move it to the header (between <head> and </head>
HTH