<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="inc/functions.string.asp"--><%
arrDayNames = Array("","Sun", "Mon",  "Tue", "Wed", "Thu", "Fri", "Sat")

arrMonthNames = Array("", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec")	
response.ContentType = "text/xml"
response.Charset = "utf-8"

	SQL = "select id, f_title as title,  f_date as imerominia, f_descr as extra_descr ,f_pdf  from utpv_6 order by f_order desc"

Set oConn = Server.CreateObject("ADODB.Connection")
Set oRs = Server.CreateObject("ADODB.Recordset")
oConn.Open Application("ConStr")
set oRs = oConn.execute(SQL)
if oRs.EOF = false then
	news = oRs.getRows()
end if
oRs.close
oConn.close
set oRs = nothing
set oConn = nothing
%><rss version="2.0">
<channel>
    <title>Interviews John Kent</title>
    <link>http://www.johnkent.com</link>
    <description>Interviews</description>
    <docs>http://www.johnkent.com/interviews.asp</docs>
    <image>
    	<url>http://www.johnkent.com/Images/john.jpg</url>
    	<title>www.johnkent.com</title>
    	<link>http://www.johnkent.com/</link>
    	<width>176</width>
    	<height>64</height>
    </image>

 	<language>el-gr</language>
    <pubDate>Tue, 22 Dec 2009 04:00:00 GMT</pubDate>
    <lastBuildDate>Tue, 22 Dec 2009 09:41:01 GMT</lastBuildDate>
	<generator>johnkent.com portal</generator>
	<managingEditor>john@youtravel.com</managingEditor>
	<webMaster>john@youtravel.com</webMaster>
<%
if isarray(news) then
	for i = 0 to ubound(news)
	
		news(3,i)=replace(news(3,i),"'","")
		
		if news(4,i)<>"" then
			news(4,i)=replace(news(4,i),"%SitePath%","")
		end if
	
		%>
	<item>
		<description><![CDATA[<%=RemoveHTMLTags(news(1,i))%>]]></description>
		<title><![CDATA[<%=news(2,i)%>]]> - <![CDATA[<%=news(1,i)%>]]></title>
		<link>http://www.johnkent.com<%=news(4,i)%></link>
      	<guid>http://www.johnkent.com<%=news(4,i)%></guid>
	</item>
<%	next
end if%>
</channel>
</rss>


