cc72c40cf4f380a948cab0766a3bad2aab230300.php
| 2.2 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 = $makaleler; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $makale): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $text = $makale->baslik; $detay = $makale->detay; $description = $text; $rssfeed = '<![CDATA[' . $description . ']]>'; $rssdetay = '<![CDATA[' . $detay . ']]>'; ?> <item> <title><?php echo e($makale->baslik); ?></title> <category><?php echo e($makale->makaleyazar->name); ?></category> <link><?php echo e(url('makale/'.Illuminate\Support\Str::slug($makale->baslik).'-'.$makale->id)); ?></link> <author><?php echo e($makale->makaleyazar->email); ?> (<?php echo e($makale->makaleyazar->name); ?>)</author> <guid><?php echo e(url('makale/'.Illuminate\Support\Str::slug($makale->baslik).'-'.$makale->id)); ?></guid> <description><?php echo $rssfeed; ?></description> <content:encoded><?php echo $rssdetay; ?></content:encoded> <pubDate><?php echo e(date('r',strtotime($makale->tarih))); ?></pubDate> <enclosure type="image/jpeg" url="<?php echo e(url('images/kullanicilar/'.$makale->makaleyazar->photo)); ?>"/> </item> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </channel> </rss> <?php /**PATH /home/yeniistik/public_html/resources/views/frontend/tema9/rssMakale.blade.php ENDPATH**/ ?>
Kaydet
Ctrl+S ile kaydet