--- /dev/null
+<?php
+/**
+ * ¥À¥¤¥¢¥ê¡¼RSS Action¥¯¥é¥¹
+ */
+// $Id: DiaryRSSAction.class.php,v 1.1 2006/12/13 09:51:46 w-ota Exp $
+
+class DiaryRSSAction extends BaseAction
+{
+ // GET
+ function execute() {
+ $context = $this->getContext();
+ $controller = $context->getController();
+ $request = $context->getRequest();
+ $user = $context->getUser();
+
+ $acs_user_info_row = $user->getAttribute('acs_user_info_row');
+ // ɽ¼¨ÂоݤȤʤë¥æ¡¼¥¶¥³¥ß¥å¥Ë¥Æ¥£ID¤ò¼èÆÀ
+ $user_community_id = $request->ACSgetParameter('id');
+
+ // ¥æ¡¼¥¶¾ðÊó
+ $target_user_info_row = ACSUser::get_user_profile_row($user_community_id);
+
+ // ¼èÆÀ´ü´Ö
+ $term = intval($request->ACSgetParameter('term'));
+ if (!$term) {
+ // ¥·¥¹¥Æ¥àÀßÄê: ¥Þ¥¤¥Ú¡¼¥¸: ¥À¥¤¥¢¥ê¡¼RSS¼èÆÀ´ü´Ö
+ $term = ACSSystemConfig::get_keyword_value(ACSMsg::get_mst('system_config_group','D02'), 'DIARY_RSS_TERM');
+ }
+
+ // ºÇ¿·¤Î¥À¥¤¥¢¥ê¡¼RSS
+ $diary_row_array = ACSDiary::get_new_diary_rss_row_array($user_community_id, $term);
+
+ // set
+ $request->setAttribute('target_user_info_row', $target_user_info_row);
+ $request->setAttribute('diary_row_array', $diary_row_array);
+ $request->setAttribute('term', $term);
+
+ return View::SUCCESS;
+ }
+
+ function isSecure () {
+ return false;
+ }
+}
+
+?>