Yii Framework Forum: [EXTENSION] EFeed Extension - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

[EXTENSION] EFeed Extension Feed Writer Generator Extension (RSS 1.0, RSS 2.0, and ATOM 1.0) Rate Topic: -----

#21 User is offline   macinville 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 268
  • Joined: 25-October 10
  • Location:Marikina City, Philippines

Posted 08 October 2011 - 10:24 PM

Hi Antonio,

I have never used an RSS before and I'm very impressed that I was able to create an RSS in minutes.

I have a question though. When I tried to validate my RSS2, feedburner suggested me this:
Missing atom:link with rel="self"


They also provided a solutionfor their found concern. However, I don't know how to implement it with EFeed.
Tell your tail.
Don't be shy to upvote a post if it was able to help you
0

#22 User is offline   Antonio Ramirez 

  • Elite Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 1,448
  • Joined: 04-October 10

Posted 09 October 2011 - 04:59 AM

Sorry for that I will have to update the extension... but i am quite busy nowadays... As soon as i do it, will let you know...
¿How long would it take for you to understand that you own nothing in this world?

www.ramirezcobos.com
www.2amigos.us
www.github.com/tonydspaniard
www.github.com/2amigos


Posted Image
0

#23 User is offline   Antonio Ramirez 

  • Elite Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 1,448
  • Joined: 04-October 10

Posted 09 October 2011 - 06:13 AM

View Postmacinville, on 08 October 2011 - 10:24 PM, said:

Hi Antonio,

I have never used an RSS before and I'm very impressed that I was able to create an RSS in minutes.

I have a question though. When I tried to validate my RSS2, feedburner suggested me this:
Missing atom:link with rel="self"


They also provided a solutionfor their found concern. However, I don't know how to implement it with EFeed.


Is done... check version v1.2 and new RSS2 example http://www.yiiframew...xtension/efeed/

Cheers
¿How long would it take for you to understand that you own nothing in this world?

www.ramirezcobos.com
www.2amigos.us
www.github.com/tonydspaniard
www.github.com/2amigos


Posted Image
0

#24 User is offline   macinville 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 268
  • Joined: 25-October 10
  • Location:Marikina City, Philippines

Posted 09 October 2011 - 08:54 AM

Whoa Antonio, that was quick! Thank you very much buddy. :)
Tell your tail.
Don't be shy to upvote a post if it was able to help you
0

#25 User is offline   dckurushin 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 392
  • Joined: 16-March 11
  • Location:Israel

Posted 11 October 2011 - 06:38 AM

why not to use Zend_Feed for example? you don't want third party... but actually why not? zend's library is very common
0

#26 User is offline   Antonio Ramirez 

  • Elite Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 1,448
  • Joined: 04-October 10

Posted 11 October 2011 - 07:23 AM

Yeah, Zend is great, and I use some of them in my own projects, but in order to use them the Yii way (loading those classes which are really needed and avoiding explicit inclusions), we need to tweak them (removing inclusions and create our own autoloader)... otherwise, we will have to live with the 'slow' version...

But you are right, Zend is very good and at the end of the day, it all depends on programmer's choice :)

I do not force anybody to use my extensions ;) .
¿How long would it take for you to understand that you own nothing in this world?

www.ramirezcobos.com
www.2amigos.us
www.github.com/tonydspaniard
www.github.com/2amigos


Posted Image
0

#27 User is offline   fsb 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 118
  • Joined: 09-January 11

Posted 09 December 2011 - 12:14 PM

Thanks for this extension. I really hate dealing with RSS/ATOM so efeed improves my life.

But I don't understand something. I do:
$item = $feed->createNewItem();
...
$item->description = 'This is my summary text';
...
$feed->addItem($item);


With RSS2 the result is:
<description><![CDATA[
This is my summary text
]]></description>


With ATOM:
<summary type="html"><![CDATA["
This is my summary text]]></summary>


What is the " at the end of the first line of the ATOM for?
Join the happiest place on Freenode: #yii
We've got a MrFisk the bot, hilarious banter and all kinds of other groovy stuff going on.
Comparison of Internet Relay Chat clients
Web IRC client
0

#28 User is offline   Antonio Ramirez 

  • Elite Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 1,448
  • Joined: 04-October 10

Posted 09 December 2011 - 12:27 PM

View Postfsb, on 09 December 2011 - 12:14 PM, said:

Thanks for this extension. I really hate dealing with RSS/ATOM so efeed improves my life.

But I don't understand something. I do:
$item = $feed->createNewItem();
...
$item->description = 'This is my summary text';
...
$feed->addItem($item);


With RSS2 the result is:
<description><![CDATA[
This is my summary text
]]></description>


With ATOM:
<summary type="html"><![CDATA["
This is my summary text]]></summary>


What is the " at the end of the first line of the ATOM for?


That is called a misstype bug :)

Thank you for pointing that out... updating the GIT repo asap!
¿How long would it take for you to understand that you own nothing in this world?

www.ramirezcobos.com
www.2amigos.us
www.github.com/tonydspaniard
www.github.com/2amigos


Posted Image
0

#29 User is offline   Antonio Ramirez 

  • Elite Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 1,448
  • Joined: 04-October 10

Posted 09 December 2011 - 12:33 PM

done! you can get the modified version here: https://github.com/t.../Yii-extensions

Is a simple removal... apologies for that :)

Edit: would be nice if some nice guy helps us getting the itunes feed type or some others out there ...
¿How long would it take for you to understand that you own nothing in this world?

www.ramirezcobos.com
www.2amigos.us
www.github.com/tonydspaniard
www.github.com/2amigos


Posted Image
0

#30 User is offline   Antono Carlos 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 21-December 11

Posted 11 January 2012 - 11:40 AM

Hi!

Is there a way of doing this?:

<someTag xmlns="http//someURL . org . net . com/">
  <someSubTag1><![CDATA[some text goes here]]></someSubTag1>
  <someSubTag2>abc123</someSubTag2>
  <someSubTag3></someSubTag3>
</someTag>


Thanks a lot!
0

#31 User is offline   chuvbiz 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 21-February 12

Posted 28 February 2012 - 08:46 AM

		$feed = new EFeed(EFeed::RSS1);
		
		$feed->title = '';
		$feed->link = '';
		$feed->description = '';
		
		foreach ($news as $news_item) {
			$item = $feed->createNewItem();
			$item->title = $news_item->title;
			$item->link = '';
			$item->date = '';
			$item->description = '';			 
			$feed->addItem($item);
		}
		 
		$feed->generateFeed();

This code generate next:
<rdf:RDF xmlns:rdf="" xmlns="" xmlns:dc="">
<channel rdf:about=""/>
<title></title>
<link></link>
<description>
</description>
<ChannelAbout></ChannelAbout>
<items> ...


Why tag <channel rdf:about=""/> is closed? ("/>")
0

#32 User is offline   kokoadi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 47
  • Joined: 03-December 08

Posted 29 April 2012 - 11:03 PM

<?php
class LayananWebController extends CController {
        public function actions()
	{
		return array(
		'service'=>array(
                'class'=>'system.web.CWebServiceAction',
                'classMap'=>array(
                    'RSS'=>'RSS',  // or simply 'Post'
                ),
            ),
		);
	}

   public function actionRSS(){
     Yii::import('ext.feed.*');
		// RSS 2.0 is the default type
		$feed = new EFeed();
		 
		$feed->title= 'SMP Negeri 1 Blora';
		$feed->description = 'Berita seputar SMP Negeri 1 Blora';
		 
		$feed->setImage('SMP Negeri 1 Blora', 'http://www.smp1blora.sch.id/index.php/layananweb/rss', 'http://www.smp1blora.sch.id/images/logo.jpg');
		 
		$feed->addChannelTag('language', 'en-US');
		$feed->addChannelTag('pubDate', date(DATE_RSS, time()));
		$feed->addChannelTag('link', 'http://www.smp1blora.sch.id/index.php/layananweb/rss');
		
		$feed->addChannelTag('atom:link','http://www.smp1blora.sch.id/index.php/layananweb/rss');
		$news = TblBerita::model()->findAllBySql("SELECT * FROM tblberita WHERE kd_modelberita=1 ORDER BY start_berita DESC LIMIT 0, :maxLimit", array('maxLimit'=>Yii::app()->params['postNews']));
		$fullpath =  dirname(realpath('images').DIRECTORY_SEPARATOR.basename(realpath('images'))).DIRECTORY_SEPARATOR.'berita'.DIRECTORY_SEPARATOR;
	
		if(count($news)>0){
			foreach($news as $berita){		
				$img = $fullpath.$berita->kd_berita.'_thumb.jpg';
				$img = is_file($img)? Yii::app()->request->baseUrl.'/images/berita/'.$berita->kd_berita.'_thumb.jpg':'http://placehold.it/100x100/4D99E0/ffffff.png&text='.$berita->judul_berita;
				$tgl = explode('-',$berita->start_berita);
				
				$item = $feed->createNewItem();
				 
				$item->title = $berita->judul_berita;
				$item->link = 'http://m.smp1blroa.sch.id/index.php'.CHtml::normalizeUrl(array('/site/page', 'view'=>'berita','bid'=>$berita->kd_berita));
				$item->date = time();
				$item->description = $berita->desc_berita;
				// this is just a test!!
				$item->setEncloser($img, $berita->judul_berita, 'image/jpg');
				 
				$item->addTag('author', 'admin@smp1blora.sch.id');
				$item->addTag('guid', $item->link,array('isPermaLink'=>'true'));
				 
				$feed->addItem($item);
			}
		}
		$feed->generateFeed();
		Yii::app()->end();
   }
}
?>

Error Message:
This page contains the following errors:
error on line 14 at column 11: Namespace prefix atom on link is not defined
error on line 15 at column 1: internal error
Below is a rendering of the page up to the first error.

when I view source code like this

<?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/">
<channel>
<title>SMP Negeri 1 Blora</title>
<link>http://www.smp1blora.sch.id/index.php/layananweb/rss</link>
<description><![CDATA[Berita seputar SMP Negeri 1 Blora
]]></description>
<image><title>SMP Negeri 1 Blora</title>
<link>http://www.smp1blora.sch.id/index.php/layananweb/rss</link>
<url>http://www.smp1blora.sch.id/images/logo.jpg</url>
</image>
<language>en-US</language>
<pubDate>Mon, 30 Apr 2012 11:04:09 +0700</pubDate>
<atom:link>http://www.smp1blora.sch.id/index.php/layananweb/rss</atom:link>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	
	<link rel="stylesheet" type="text/css" href="/assets/757f4696/themes/default/default.css" media="screen" />
<link rel="stylesheet" type="text/css" href="/assets/757f4696/nivo-slider.css" />
<link rel="stylesheet" type="text/css" href="/assets/f2b5be9e/donatebutton.css" />
<link rel="stylesheet" type="text/css" href="/assets/520962df/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="/assets/c5c3eb65/bbcnewticker.css" />
<link rel="stylesheet" type="text/css" href="/assets/8439b0fa/jui/css/base/jquery-ui.css" />
<script type="text/javascript" src="/assets/8439b0fa/jquery.min.js"></script>
<script type="text/javascript" src="/assets/757f4696/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript" src="/assets/c5c3eb65/jquery.newsTicker-2.3.6.js"></script>
<title>SMP Negeri 1 Blora (SMP-RSBI) - Error</title>	
	<meta name="language" content="id" />	
	<meta name="google-site-verification" content="fDqWYqdb-OfELAhslMxSIXfwG8Hmfifq_MjMzs2EJZk" />
        <meta name="alexaVerifyID" content=" toDSemC4DgX5TrcmTEBq6zVpyHE" />
	<meta name="description" content="Website resmi SMP Negeri 1 Blora, SMP Negeri 1 Blora merupakan sekolah RSBI yang terbaik di kota Blora, Jawa Tengah, Indonesia" />	
	<meta name="keyword" content="smpn 1, blora, jawa tengah, rsbi, indonesia, smp 1 blora, smpn 1 blora, sepensa, pendidikan, education, state junior high school" />	
	<link rel="shortcut icon" href="/images/favicon.ico" />
	<script type="text/javascript" src="/js/99Lime/prettify.js"></script>
	<script type="text/javascript" src="/js/99Lime/kickstart.js"></script>
	<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	<link rel="stylesheet" type="text/css" href="/css/99Lime/css/kickstart.css" media="all" />
	<link rel="stylesheet" type="text/css" href="/css/99Lime/style.css" media="all" />	
	<script type="text/javascript" src="/js/rss/jquery.zrssfeed.min.js"></script>
	<script type="text/javascript" src="/js/rss/jquery.vticker.js"></script>
	<script type="text/javascript">
<!--
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-20327418-1']);
  _gaq.push(['_setDomainName', 'smp1blora.sch.id']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
//-->
</script>	
</head>
<body>	
	<a id="top-of-page"></a>	
	<div id="wrap" class="clearfix">
	<div class="headernewsticker"><ul id="bbcnewsticker" class="ticker-items"><li>SMP Negeri 1 Blora (SMP-RSBI) merupakan sekolah RSBI terbaik di Kabupaten Blora</li><li>Lokasi kami berada di Jl. dr Sutomo 38 - Blora - Jawa Tengah</li><li>Hubungi kami sekarang juga untuk informasi lebih lanjut melalui</li><li><a href="http://www.smp1blora.sch.id">Website kami www.smp1blora.sch.id</a></li><li>Telp/Fax (+62) 0296 531079</li></ul></div><ul class="menu" id="menuTop">
<li><a href="/index.php/site/index.bjn">Beranda</a></li>
<li><a href="/index.php/site/#.bjn">Profil</a>
<ul>
<li><a href="/index.php/site/#.bjn">Sambutan</a>
<ul>
<li><a href="/index.php/site/page/1.bjn?view=sambutan">Kepala Sekolah</a></li>
<li><a href="/index.php/site/page/2.bjn?view=sambutan">Komite Sekolah</a></li>
<li><a href="/index.php/site/page/3.bjn?view=sambutan">Humas Sekolah</a></li>
</ul>
</li>
<li><a href="/index.php/site/page/view/visinmisi.bjn">Visi &amp; Misi</a></li>
<li><a href="/index.php/site/page/view/sejarah.bjn">Sejarah Singkat</a></li>
<li><a href="/index.php/site/page/view/mitra.bjn">Kerjasama</a></li>
<li><a href="/index.php/site/page/view/struktur.bjn">Struktur Organisasi</a></li>
<li><a href="/index.php/site/page/view/prestasi.bjn">Prestasi</a></li>
<li><a href="/index.php/site/page/view/pegawai.bjn">Guru &amp; Tata Usaha</a></li>
<li><a href="/index.php/site/#.bjn">Fasilitas</a>
<ul>
<li><a href="/index.php/site/page/view/infrastruktur.bjn">Infrastruktur</a></li>
<li><a href="/index.php/site/#.bjn">Elektronik</a>
<ul>
<li><a href="http://blog.smp1blora.sch.id/">Blog</a></li>
<li><a href="http://sis.smp1blora.sch.id/">SIS</a></li>
<li><a href="http://elearning.smp1blora.sch.id/">Pembelajaran</a></li>
<li><a href="http://digilib.smp1blora.sch.id/">Perpustakaan</a></li>
<li><a href="http://alumni.smp1blora.sch.id/">Alumni</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="/index.php/site/#.bjn">Bantuan</a>
<ul>
<li><a href="/index.php/site/contact.bjn">Kontak Kami</a></li>
<li><a href="/index.php/site/page/view/peta.bjn">Lokasi Kami</a></li>
<li><a href="/index.php/site/page/view/pembuat.bjn">Pembuat Website</a></li>
<li><a href="/index.php/site/login.bjn">Login</a></li>
</ul>
</li>
</ul><ul class="breadcrumb"><li><a href="/index.php">Home</a><span class="divider">/</span></li><li class="active">Error</li></ul><div class="col_12">			
			<div class="col_9">
			<!-- banner school -->
			<div class="slider-wrapper theme-default"><div class="ribbon"></div><div id="sliderMenu" class="nivoSlider"><img title="PPDB SMP Negeri 1 Blora (SMP-RSBI)" data-transition="" src="/images/banner/ppdb_smp_rsbi_banner.jpg" alt="" /><img title="Ujian Praktek TIK" data-transition="" src="/images/banner/ujianpraktek_tik.jpg" alt="" /><img title="Lomba Ganesha Saint Olympiad" data-transition="" src="/images/banner/lomba_gso.jpg" alt="" /><img title="PBL Sampoerna" data-transition="" src="/images/banner/pbl.jpg" alt="" /><img title="Pembelajaran Seni Budaya - Tari Modern" data-transition="" src="/images/banner/pembelajaran_senibudaya.jpg" alt="" /><img title="Pembelajaran IPA" data-transition="" src="/images/banner/pembelajaran_ipa.jpg" alt="" /></div></div><br />		
			<!-- main content -->
			
<h2>Error 500</h2>

<div class="error">
htmlspecialchars() expects parameter 1 to be string, object given</div>			
			</div>
			<div class="col_3">
				<img style="width:150px;height:150px;" src="/images/logo.jpg" alt="Logo SMP Negeri 1 Blora (SMP-RSBI)" /><br /><br />
				<div id="google_translate_element"></div>
				<script>
				<!--
					function googleTranslateElementInit() {
					  new google.translate.TranslateElement({
						pageLanguage: 'id',
						gaTrack: true,
						gaId: 'UA-20327418-1',
						layout: google.translate.TranslateElement.InlineLayout.SIMPLE
					  }, 'google_translate_element');
					}
				//-->
				</script>
				<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<form action="http://www.smp1blora.sch.id/index.php/site/page/view/search.bjn" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="partner-pub-9362332896886143:btok7oa7k0n" />
    <input type="hidden" name="cof" value="FORID:10" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>

<script type="text/javascript" src="http://www.google.co.id/coop/cse/brand?form=cse-search-box&amp;lang=in"></script>
				<h6><span class="icon small blue">9</span> Pemberitahuan Sekolah</h6>
				<a href="/index.php/site/page/view/berita/mod/woro.bjn">detail >></a><div class="calendar" data-month="2" data-year="2012"></div><div class="donatebox clearfix" style="width:100px">
	<div class="donatetext">
		<div class="donatemessage">Apabila Anda suka dengan website kami, berikan dukungan donasi Anda untuk kemajuan website kami.</div>
		<div class="donateamount">
	1 USD


</div>
	</div>
	<div class="donatebutton">
		
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	<input type="hidden" name="cmd" value="_xclick" />
	<input type="hidden" name="business" value="yohanadisetiawan@yahoo.co.id" />
	<input type="hidden" name="item_name" value="Mendukung website http://www.smp1blora.sch.id/index.php/LayananWeb/RSS" />
	<input type="hidden" id="currency_code" name="currency_code" value="USD" />
	<input type="hidden" id="amount" name="amount" value="1" />
	<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" name="submit" alt="Donate" />
</form>
	</div>
</div><a href="https://s3.amazonaws.com/com.alexa.toolbar/atbp/LnTxTc/download/index.htm"><img alt="Get our toolbar!" src="http://www.alexa.com/images/tbplatform/promotebuttons/blue/TB-banner1-1.jpg"></a>
				<script type="text/javascript"><!--
google_ad_client = "ca-pub-9362332896886143";
/* Sekolah */
google_ad_slot = "0161580201";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- Clicksor //-->
<script type="text/javascript">
//interstitial ad
clicksor_enable_inter = true; clicksor_maxad = -1;	 
clicksor_hourcap = -1; clicksor_showcap = 2;
//connect widget
clicksor_adhere_opt = 'right:100%';
//default pop-under house ad url
clicksor_enable_pop = true; clicksor_frequencyCap = -1;
durl = '';//default banner house ad url 
clicksor_default_url = '';
clicksor_banner_border = '#00793c'; clicksor_banner_ad_bg = '#FFFFFF';
clicksor_banner_link_color = '#000000'; clicksor_banner_text_color = '#666666';
clicksor_banner_image_banner = true; clicksor_banner_text_banner = true;
clicksor_layer_border_color = '#00793c';
clicksor_layer_ad_bg = '#FFFFFF'; clicksor_layer_ad_link_color = '#000000';
clicksor_layer_ad_text_color = '#666666'; clicksor_text_link_bg = '';
clicksor_text_link_color = ''; clicksor_enable_text_link = true;
</script>
<script type="text/javascript" src="http://ads.clicksor.com/newServing/showAd.php?nid=1&amp;pid=236193&amp;adtype=&amp;sid=378265"></script>
<noscript><a href="http://www.yesadvertising.com">affiliate marketing</a></noscript>

<!-- sitizen //-->
<script>
/** Iklan Pendidikan **/
var sitti_pub_id = "BC0025090";
var sitti_ad_width = "200";
var sitti_ad_height = "250";
var sitti_ad_type = "1";
var sitti_ad_number = "3";
var sitti_ad_name = "Iklan Pendidikan";
var sitti_dep_id = "68620";
</script>
<script src="http://stat.sittiad.com/delivery/sittiad.b1.js"></script> 	
			</div>
		</div>
		<!-- 3 grids of content -->
			<div class="col_3">
				<a href="ymsgr:sendIM?smponeblora"><span class="icon social x-large blue">Y</span></a>
				<a href="http://www.facebook.com/groups/153397834713011/" target="_blank"><span class="icon social x-large blue">F</span></a>
				<a href="#" target="_blank"><span class="icon social x-large blue">E</span></a>
				<a href="#" target="_blank"><span class="icon social x-large blue">G</span></a>
				<a href="#" target="_blank"><span class="icon social x-large blue">U</span></a>				
				<a href="#"><span class="icon social x-large blue">R</span></a>				
				<hr />
				<h6>Tautan Ke Website Lainnya</h6>
				<a href="http://www.indonesia.go.id/" target="_blank" title="">Republik Indonesia</a>,
				<a href="http://www.kemdiknas.go.id/" target="_blank" title="">Kementrian Pendidikan Nasional</a>,
				<a href="http://sergur.kemdiknas.go.id/" target="_blank" title="">Sertifikasi Guru</a>,
				<a href="http://www.pdkjateng.go.id/" target="_blank" title="">Dinas Pendidikan Jawa Tengah</a>,
				<a href="http://ptkdisdikblora.wordpress.com/" target="_blank" title="">Dinas Pendidikan Blora</a>,
				<a href="http://www.blorakab.go.id/" target="_blank" title="">Kabupaten Blora</a>,				
				<a href="http://psdmp.kemdiknas.go.id/" target="_blank" title="">NUPTK</a>,
				<a href="http://nisn.data.kemdiknas.go.id/Siswa/Data" target="_blank" title="">NISN</a>,
				<a href="http://www.lpmpjateng.go.id/" target="_blank" title="">LPMP Jawa Tengah</a>, <a href="http://www.polresblora.com/" target="_blank" title="">Polres Blora</a>
				<script language="javascript/text">
				<!--
					google_ad_client = "ca-pub-9362332896886143";
					/* Blog 728x90 */
					google_ad_slot = "2210980663";
					google_ad_width = 200;
					google_ad_height = 200;
				//-->
				</script>
				<script language="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>	
			
			</div>
			<div class="col_6">			
			<div id="tabFooter">
<ul>
<li><a href="#tabFooter_tab_0" title="#tabFooter_tab_0">RI</a></li>
<li><a href="#tabFooter_tab_1" title="#tabFooter_tab_1">Kemdiknas</a></li>
<li><a href="#tabFooter_tab_2" title="#tabFooter_tab_2">Diknas Jateng</a></li>
<li><a href="#tabFooter_tab_3" title="#tabFooter_tab_3">OSIS</a></li>
<li><a href="#tabFooter_tab_4" title="#tabFooter_tab_4">Blog</a></li>
</ul>
<div id="tabFooter_tab_0"><div id="feedIndonesia"></div></div>
<div id="tabFooter_tab_1"><div id="feedKemdiknas"></div></div>
<div id="tabFooter_tab_2"><div id="feedDiknasJateng"></div></div>
<div id="tabFooter_tab_3"></div>
<div id="tabFooter_tab_4"></div>
</div>
			
			<script type="text/javascript" language="javascript">
			<!--				
				$(document).ready(function () {					
				  $('#feedIndonesia').rssfeed('http://www.indonesia.go.id/in.feed?type=rss', {
					limit: 5,
					linktarget: '_blank',
				  }, function(e){
					$(e).find('div.rssBody').vTicker({showItems: 1});
				  });
				  $('#feedKemdiknas').rssfeed('http://www.kemdiknas.go.id/laman/rss.xml', {
					limit: 5,
					linktarget: '_blank',
				  }, function(e){
					$(e).find('div.rssBody').vTicker({showItems: 1});
				  });
				  $('#feedDiknasJateng').rssfeed('http://www.pdkjateng.go.id/index.php?format=feed&type=rss', {
					limit: 5,
					linktarget: '_blank',
				  }, function(e){
					$(e).find('div.rssBody').vTicker({showItems: 1});
				  });
				});				
			//-->
			</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9362332896886143";
/* Sekolah Sepanduk */
google_ad_slot = "0578307613";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

			</div>			
			<div class="col_3">				
				<img src="/uploads/qrcodes/qrcode.png" alt="" />				<hr class="alt2" />					
				<address>
					Alamat : Jl. dr Sutomo 38 - Blora - Jawa Tengah					<hr class="alt2" />
					Telphone : (+62) 0296 531079					<hr class="alt2" />					
				</span>			
			</div>
		<div class="clear"></div>
		<div id="footer">
			Copyright &copy; 2010-2012 by SMP Negeri 1 Blora, Powered YII Framework and ICT Jenegoro Consultan.			
			<a id="link-top" href="#top-of-page">Top</a>
		</div>
	</div>	
<script type="text/javascript" src="/assets/8439b0fa/jui/js/jquery-ui.min.js"></script>
<script type="text/javascript">
/*<![CDATA[*/

			$(window).load(function() {
					$('#sliderMenu').nivoSlider();
				}
			);
		
jQuery(function($) {
jQuery().newsTicker({'tickerRate':100,'startDelay':100,'loopDelay':2000,'placeHolder1':' |','placeHolder2':'_','controls':false,'ownControls':false,'stopOnHover':true,'resumeOffHover':false,'newsList':'#bbcnewsticker'});
jQuery('#tabFooter').tabs({'collapsible':true});
});
/*]]>*/
</script>
</body>
</html>


I have make code like that but my RSS return with page layout HTML how to solve this?
0

#33 User is offline   I-NOZex 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 48
  • Joined: 17-November 12
  • Location:Portugal

Posted 16 February 2013 - 09:41 AM

Hi, how i can put favicon in rss page?
thanks in advance :)
B2R » Beat2Revolution v3.0b | Join and Share us
http://beat2revolution.net/

Posted Image
0

#34 User is offline   haegemon 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 05-September 13

Posted 05 September 2013 - 10:34 AM

Hi
How about tag "<figure>" . Is it possible to create them?

This post has been edited by haegemon: 05 September 2013 - 10:35 AM

0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users