<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">
select obyava.id, UNIX_TIMESTAMP(pubdate) as pubdate, content, concat((select y.section as childname from catalog x left join catalog y on x.subsection = y.id where x.id=catalog), '/', catalog.section) as section from obyava, catalog where deleted = '0'  and catalog = 36 and obyava.catalog = catalog.id order by pubdate desc limit 50
