<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TNF : Tatter Network Foundation forum - 게시글을 불러올 때 공지글만 불러오려면..?]]></title>
		<link>http://forum.tattersite.com/ko/viewtopic.php?id=6013</link>
		<description><![CDATA[게시글을 불러올 때 공지글만 불러오려면..? 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Sat, 28 Jun 2008 04:55:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: 게시글을 불러올 때 공지글만 불러오려면..?]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=28632#p28632</link>
			<description><![CDATA[<p>감사합니다. 말씀해주신대로 수정하고,</p><p>거기에 위에 있던 $visibility 변수 부분을 좀 수정하니 원하는 결과를 얻을 수 있었습니다. ^^</p><br /><br /><p>정형화해서 업로드했으면 좋으련만, 아직 내공이 없어서 제것만 급조해 쓰기도 어렵군요 ㅠ</p><br /><br /><p>여튼, 감사합니다 ^ㅡ^</p>]]></description>
			<author><![CDATA[null@example.com (loxop)]]></author>
			<pubDate>Sat, 28 Jun 2008 04:55:56 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=28632#p28632</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 게시글을 불러올 때 공지글만 불러오려면..?]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=28623#p28623</link>
			<description><![CDATA[<p>LEFT JOIN에서의 카테고리 정보가 없으니까 (pseudo category이므로) 안나오는거겠네요.^^</p><p>LEFT JOIN {$database[&#039;prefix&#039;]}Categories c ON e.blogid = c.blogid AND e.category = c.id</p><p>이 줄을 날리시고</p><p>SELECT e.blogid, e.id, e.userid, e.title, e.content, e.slogan, e.category, e.published, e.contentFormatter, c.label</p><p>에서 c.label을 날리면 될겁니다.^^</p>]]></description>
			<author><![CDATA[null@example.com (inureyes)]]></author>
			<pubDate>Sat, 28 Jun 2008 01:39:48 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=28623#p28623</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 게시글을 불러올 때 공지글만 불러오려면..?]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=28622#p28622</link>
			<description><![CDATA[<div class="quotebox"><cite>inureyes 작성:</cite><blockquote><p>e.category &gt;= 0 이 부분을 변경하시면 됩니다.<br />-1 이 키워드고 -2가 공지, -4가 서식입니다. 그러니까 위에선 e.category = -2 로 고쳐주시면 될듯? 합니다. <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>사실 그런것 같아서 e.category = -2 로 고쳐봤습니다. 그랬더니 하나도 안나오더군요.;</p><p>읽어보니까 $visibility 변수의 내용도 e.category 값에 영향을 미치더군요. (e.category=0 이라는 내용이 포함되어있더라고요.)</p><br /><br /><p>최근글 플러그인의 전체 로직을 몰라서 함부로 저 $visibility의 부분을 손댈수가 없네요. 단순히 쿼리만 바꿔서 공지글을 불러올 수는 없는건지..<br />(소스를 읽어도 이해 안되는 부분이 많네요 ㅠ)</p>]]></description>
			<author><![CDATA[null@example.com (loxop)]]></author>
			<pubDate>Sat, 28 Jun 2008 01:25:16 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=28622#p28622</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 게시글을 불러올 때 공지글만 불러오려면..?]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=28618#p28618</link>
			<description><![CDATA[<p>e.category &gt;= 0 이 부분을 변경하시면 됩니다.<br />-1 이 키워드고 -2가 공지, -4가 서식입니다. 그러니까 위에선 e.category = -2 로 고쳐주시면 될듯? 합니다. <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (inureyes)]]></author>
			<pubDate>Fri, 27 Jun 2008 23:53:25 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=28618#p28618</guid>
		</item>
		<item>
			<title><![CDATA[게시글을 불러올 때 공지글만 불러오려면..?]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=28611#p28611</link>
			<description><![CDATA[<p>며칠전 아래에 &quot;표지에 최근공지의 제목리스트만 넣고싶다면,&quot; 이라는 제목의 질문을 올린 사람입니다,</p><br /><p>inureyes 님께서 플러그인 수정이 필요하다고 답해주셔서 J.Parker 님의 최근게시물출력 표지 플러그인의 index.php를 만져보고 있었습니다.</p><br /><p>출력할 때 for문 안에 있는 포스팅 태그출력 부분을 좀 수정해서 한 포스트 안에 글제목만 들어가게 수정은 했는데,</p><br /><p>어떻게해야 불러올 글을 &#039;공지&#039;만으로 설정할 수 있는지 모르겠습니다.</p><br /><br /><p>그러니까, 아래 쿼리 문을 어떻게 수정하면 되지 않을까 싶은데 제 맘대로 수정하니 글이 하나도 검색되지 않네요.</p><br /><p>list($entries, $paging) = fetchWithPaging(&quot;SELECT e.blogid, e.id, e.userid, e.title, e.content, e.slogan, e.category, e.published, e.contentFormatter, c.label<br />&nbsp; &nbsp; &nbsp; &nbsp; FROM {$database[&#039;prefix&#039;]}Entries e<br />&nbsp; &nbsp; &nbsp; &nbsp; LEFT JOIN {$database[&#039;prefix&#039;]}Categories c ON e.blogid = c.blogid AND e.category = c.id<br />&nbsp; &nbsp; &nbsp; &nbsp; WHERE $multiple e.draft = 0 $visibility AND e.category &gt;= 0 $privateBlogs<br />&nbsp; &nbsp; &nbsp; &nbsp; ORDER BY published DESC&quot;, $page, $entryLength);</p><br /><p>이 쿼리를 어떻게 수정하면 공지사항만 불러올 수 있을까요- 답변 부탁드립니다!</p>]]></description>
			<author><![CDATA[null@example.com (loxop)]]></author>
			<pubDate>Fri, 27 Jun 2008 09:02:36 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=28611#p28611</guid>
		</item>
	</channel>
</rss>
