http://www.toyotaclub.be/RSSTCBNIEUWS.ASP
dat is mijn output ...
in internet explorer krijg ik de feed ... in firefox dus niet:
dit is mijn code
ik snap het niet goed de output lijkt echt wel juist te zijn en toch wil het niet lukken ... op zich is er niet veel lastig aan aangezien het gewoon 2 loops doet.
http://www.lukew.com/ff/rss.asp
die pagina doet hetzelfde (aan de hand van hun output heb ik het nagebouwd ...
dat is mijn output ...
in internet explorer krijg ik de feed ... in firefox dus niet:
dit is mijn code
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
| <!-- #include file="includes/godb.inc" -->
<?xml version="1.0" encoding="windows-1252" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns="http://purl.org/rss/1.0/">
<channel rdf:about="http://www.toyotaclub.be">
<title>Toyotaclub Belgium Nieuws</title>
<link>http://www.toyotaclub.be</link>
<description>Toyota, Lexus, Daihatsu nieuws forums community</description>
<dc:language>en-us</dc:language>
<dc:creator>Cliff Haerden (MultiBox vof)</dc:creator>
<image>
<title>Toyotaclub Belgium Nieuws</title>
<url>http://www.toyotaclub.be/favicon.ico</url>
<link>http://www.toyotaclub.be</link>
</image>
<dc:date><% = date() %></dc:date>
<items>
<rdf:Seq>
<%
Set artRec = Server.CreateObject("ADODB.Recordset")
set artRec = My_conn.execute("SELECT * FROM tcbnieuws where actief=1 order by id desc;")
x=0
while not artRec.eof
if x<10 then
%>
<rdf:li rdf:resource="http://www.toyotaclub.be/default.asp?nid=<% =artRec("id") %>" />
<%
end if
x=x+1
artRec.movenext
wend
%>
</rdf:Seq>
</items>
</channel>
<%
x=0
artrec.movefirst
while not artRec.eof
if x<10 then
%>
<item rdf:about="http://www.toyotaclub.be/default.asp?nid=<% = artRec("id") %>">
<title><![CDATA[ <% = artRec("TITEL") %> ]]></title>
<link>http://www.toyotaclub.be/default.asp?nid=<% = artRec("id") %></link>
<description><![CDATA[ ]]></description>
<dc:date><% = date() %></dc:date>
<dc:creator><% = artRec("NICK") %></dc:creator>
</item>
<%
end if
x=x+1
artRec.movenext
wend
%>
</rdf:RDF>
<!-- #include file="includes/haltdb.inc" --> |
ik snap het niet goed de output lijkt echt wel juist te zijn en toch wil het niet lukken ... op zich is er niet veel lastig aan aangezien het gewoon 2 loops doet.
http://www.lukew.com/ff/rss.asp
die pagina doet hetzelfde (aan de hand van hun output heb ik het nagebouwd ...
[ Voor 6% gewijzigd door Verwijderd op 14-03-2007 10:47 ]