6dac34c34ad3e81d20993ce283a126ce2d3257b7.php
| 2.1 KB | Satir:
0
| php
Geri
<?php echo '<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"> <channel> <title><?php echo e(config('ayarlar.baslik')); ?></title> <link><?php echo e(config('ayarlar.siteadresi')); ?></link> <description><?php echo e(config('ayarlar.seodesc')); ?></description> <language>tr</language> <?php $__currentLoopData = $haberler; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $haber): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $text = $haber->metadesc; $detay = $haber->detay; $image = '<p><img class="center" src="' . url('images/haberler/'.$haber->resim) . '" alt="' . $haber->baslik . '"/></p>'; $description = $text; $rssfeed = '<![CDATA[' . $description . ']]>'; $rssdetay = '<![CDATA[' . $haber->embed . $detay . ']]>'; ?> <item> <title><?php echo e($haber->baslik); ?></title> <category><?php echo e($haber->haberkat->baslik); ?></category> <link><?php echo e(url('haber/'.$haber->slug.'-'.$haber->id)); ?></link> <guid><?php echo e(url('haber/'.$haber->slug.'-'.$haber->id)); ?></guid> <description><?php echo $rssfeed; ?></description> <content:encoded><?php echo $rssdetay; ?></content:encoded> <pubDate><?php echo e(date('r',strtotime($haber->tarih))); ?></pubDate> <enclosure type="image/jpeg" url="<?php echo e(url('images/haberler/'.$haber->resim)); ?>"/> </item> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </channel> </rss> <?php /**PATH /home/yeniistik/public_html/resources/views/frontend/tema9/rssDetay.blade.php ENDPATH**/ ?>
Kaydet
Ctrl+S ile kaydet