Movavle Type/¥Ú¡¼¥¸¤Ë³°Éô¥µ¥¤¥È¤Î¥Ú¡¼¥¸¤â´Þ¤á¤Æ½ÀÆð¤Ë´ØÏ¢¥Ú¡¼¥¸¤òɽ¼¨¤Ç¤­¤ë¥×¥é¥°¥¤¥ó - RelationalPage http://www.ark-web.jp/sandbox/wiki/3993.html

Movavle Type/¥Ú¡¼¥¸¤Ë³°Éô¥µ¥¤¥È¤Î¥Ú¡¼¥¸¤â´Þ¤á¤Æ½ÀÆð¤Ë´ØÏ¢¥Ú¡¼¥¸¤òɽ¼¨¤Ç¤­¤ë¥×¥é¥°¥¤¥ó - RelationalPage

[edit]

³µÍ×

RelationalPage¤Ï¥¨¥ó¥È¥ê¡¼¡¦Web¥Ú¡¼¥¸¤ËÅö³ºµ­»ö¤Î´ØÏ¢¥Ú¡¼¥¸¤òÄêµÁ¤·¡¢¤³¤ì¤òɽ¼¨¤¹¤ëµ¡Ç½¤òÄ󶡤¹¤ë¥×¥é¥°¥¤¥ó¤Ç¤¹¡£´ØÏ¢¥Ú¡¼¥¸¤Ë¤Ï³°Éô¥µ¥¤¥È¤Î¥Ú¡¼¥¸¤âÄêµÁ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£´ØÏ¢¥Ú¡¼¥¸¤ÎÄêµÁ¤ÏYAML·Á¼°¤Çľ´¶Åª¡¢¤«¤Ä½ÀÆð¤Ë¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

ÊÀ¼Ò¤Î¥Ó¥¸¥Í¥¹¥Ö¥í¥°
http://www.ark-web.jp/blog/
¤Î¥¨¥ó¥È¥ê¡¼ËöÈø¤Î´ØÏ¢µ­»ö¡Ê¡Ö¶½Ì£¤¬¤¢¤ë¤«¤â¡©¡×¤Î²Õ½ê¡Ë¤Îɽ¼¨¤â¤³¤Î¥×¥é¥°¥¤¥ó¤ò»È¤Ã¤ÆÀ¸À®¤·¤Æ¤¤¤Þ¤¹¡£

relationalpage.png

[edit]

¥À¥¦¥ó¥í¡¼¥É

fileRelationalPage-1.0.zip (3.57KB)

[edit]

¥¤¥ó¥¹¥È¡¼¥ëÊýË¡

  1. fileRelationalPage-1.0.zip¤ò²òÅष¤Æ¤Ç¤­¤ëRelationalPage¥Ç¥£¥ì¥¯¥È¥ê¤òplugins¥Ç¥£¥ì¥¯¥È¥ê¤ËÊü¤ê¹þ¤ß¤Þ¤¹¡£
[edit]

»È¤¤Êý

[edit]

´ØÏ¢¥Ú¡¼¥¸ÄêµÁ

´ØÏ¢¥Ú¡¼¥¸¤ÎÄêµÁ¤ÏYAML¤Îµ­Ë¡¤ò»È¤Ã¤Æ¡¢½ÀÆð¤Ë»ØÄê¤Ç¤­¤Þ¤¹¡£
ÄêµÁ¤ÏMT_DIR/plugins/RelationalPage/config.yml¤Ëµ­½Ò¤·¤Þ¤¹¡£MT_DIR¤ÏMT¤Î¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¹¡£

config.yml¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï

---
- title: ´ØÏ¢¥Ú¡¼¥¸1¤Î¥¿¥¤¥È¥ë¡Ê¥ê¥ó¥¯¥Æ¥­¥¹¥È¡Ë
  url: ´ØÏ¢¥Ú¡¼¥¸1¤ÎURL
  tags:
    - ´ØÏ¢ÉÕ¤±¤ë¥¿¥°1
    - ´ØÏ¢ÉÕ¤±¤ë¥¿¥°2
    - :
    - ´ØÏ¢ÉÕ¤±¤ë¥¿¥°N
  default: ¥Ç¥Õ¥©¥ë¥Èɽ¼¨»ØÄê(1 or 0)
- title: ´ØÏ¢¥Ú¡¼¥¸2¤Î¥¿¥¤¥È¥ë¡Ê¥ê¥ó¥¯¥Æ¥­¥¹¥È¡Ë
  url: ´ØÏ¢¥Ú¡¼¥¸2¤ÎURL
  tags:
    - ´ØÏ¢ÉÕ¤±¤ë¥¿¥°1
    - ´ØÏ¢ÉÕ¤±¤ë¥¿¥°2
    - :
    - ´ØÏ¢ÉÕ¤±¤ë¥¿¥°N
  default: ¥Ç¥Õ¥©¥ë¥Èɽ¼¨»ØÄê(1 or 0)
   :

¤È¤¤¤¦¤è¤¦¤Ë¤Ê¤Ã¤Æ¤ª¤ê¡¢title¡Ádefault¤Þ¤Ç¤¬°ì¤Ä¤Î´ØÏ¢¥Ú¡¼¥¸¤ÎÄêµÁ¤Ë¤Ê¤ê¤Þ¤¹¡£

title¤Ë¤Ï¤½¤Î´ØÏ¢¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¤Î¥¿¥¤¥È¥ë¡Ê¥ê¥ó¥¯¥Æ¥­¥¹¥È¡Ë¤ò»ØÄꤷ¡¢url¤Ë¤Ï´ØÏ¢¥Ú¡¼¥¸¤ÎURL¤ò»ØÄꤷ¤Þ¤¹¡£tags¤Ë¤Ï¤½¤Î´ØÏ¢¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¤òɽ¼¨¤¹¤ë¥¿¥°¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢

- title: Zen Cart¤Ç¹âµ¡Ç½¡¦¥»¥­¥å¥¢¤ÊEC¥µ¥¤¥È¤ò¹½ÃÛ¤·¤Þ¤»¤ó¤«?
  url: http://www.ark-web.jp/zen-cart/index.html
  tags:
    - EC
    - ¥·¥ç¥Ã¥×¹½ÃÛ
    - Zen Cart
    - EC¥µ¥¤¥È

¤ÈÄêµÁ¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢¥¿¥°¤ËEC¡¢¥·¥ç¥Ã¥×¹½ÃÛ¡¢Zen Cart¡¢EC¥µ¥¤¥È¤Î¤É¤ì¤«¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¥¨¥ó¥È¥ê¡¼¤äWeb¥Ú¡¼¥¸¤Ç¡ÖZen Cart¤Ç¹âµ¡Ç½¡¦¥»¥­¥å¥¢¤ÊEC¥µ¥¤¥È¤ò¹½ÃÛ¤·¤Þ¤»¤ó¤«?¡×¤È¤¤¤¦¥ê¥ó¥¯¥Æ¥­¥¹¥È¤Ç¡Öhttp://www.ark-web.jp/zen-cart/index.html¡×¤Ø¤Î¥ê¥ó¥¯¤òÉÁ²è¤¹¤ë¤È¤¤¤¦ÀßÄê¤Ë¤Ê¤ê¤Þ¤¹¡£

default¤Ï0¤«1¤òɽ¼¨¤·¤Þ¤¹¡£¤¢¤ë¥¨¥ó¥È¥ê¡¼¤äWeb¥Ú¡¼¥¸¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë¥¿¥°¤¬config.yml¤Îtags¤Ë»ØÄꤵ¤ì¤¿¤É¤Î¥¿¥°¤Ë¤â¥Þ¥Ã¥Á¤·¤Ê¤¤¾ì¹ç¡¢default¤Ë1¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë´ØÏ¢¥Ú¡¼¥¸¤Î¥ê¥ó¥¯¤òɽ¼¨¤·¤Þ¤¹¡£¥¿¥°¤¬¥Þ¥Ã¥Á¤·¤Ê¤¤¾ì¹ç¤Ë¥Ç¥Õ¥©¥ë¥È¤Çɽ¼¨¤·¤¿¤¤´ØÏ¢¥Ú¡¼¥¸¤Ë¤Ïdefault: 1¤ò»ØÄꤹ¤ë¤È¹Í¤¨¤Æ¤¯¤À¤µ¤¤¡£

[edit]

¥¿¥°¤ÎËä¤á¹þ¤ß

´ØÏ¢¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¤Ï¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¿¥°<MTRelationalPage>¤ÇÀ¸À®¤µ¤ì¤Þ¤¹¡£
¥Ö¥í¥°µ­»ö¡¢¤Þ¤¿¤ÏWeb¥Ú¡¼¥¸¤Î¥Æ¥ó¥×¥ì¡¼¥È¡Ê¸ÄÊÌ¥¢¡¼¥«¥¤¥Ö¤Î¥Æ¥ó¥×¥ì¡¼¥È¡Ë¤Ç»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤Þ¤¿¡¢MTRelationalPage¤Ë¤Ï»°¤Ä¤Î¥â¥Ç¥£¥Õ¥¡¥¤¥¢¤¬Ä󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£

link_start
³Æ´ØÏ¢¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¤ÎÁ°¤Ë¤Ä¤±¤ë¥¿¥°¤Ê¤É¤ò»ØÄꤷ¤Þ¤¹¡£Ì¤»ØÄê¤Î¾ì¹ç¤Ï<li>¤ò»ØÄꤵ¤ì¤¿¤â¤Î¤È¤·¤ÆÆ°ºî¤·¤Þ¤¹¡£
link_end
³Æ´ØÏ¢¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¤Î¸å¤Ë¤Ä¤±¤ë¥¿¥°¤Ê¤É¤ò»ØÄꤷ¤Þ¤¹¡£Ì¤»ØÄê¤Î¾ì¹ç¤Ï</li>¤ò»ØÄꤵ¤ì¤¿¤â¤Î¤È¤·¤ÆÆ°ºî¤·¤Þ¤¹¡£
is_blank
¥ê¥ó¥¯¤òtarget="_blank"»ØÄꤹ¤ë¤«¤É¤¦¤«»ØÄꤷ¤Þ¤¹¡£_blank»ØÄꤹ¤ë¤È¤­¤Ï1¤ò»ØÄꤷ¤Þ¤¹¡£

¤¿¤È¤¨¤Ð¡¢

<$MTRelationalPage link_start="<li class='relpage'>" link_end="</li>" is_blank="1"$>

¤Î¤è¤¦¤Ë»ØÄꤹ¤ë¤È¡¢

<li class='relpage'><a href="´ØÏ¢¥Ú¡¼¥¸¤Ø¤ÎURL" target="_blank">´ØÏ¢¥Ú¡¼¥¸¤Î¥¿¥¤¥È¥ë</a></li>

¤È¤¤¤¦¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£Ê£¿ô¤Î´ØÏ¢¥Ú¡¼¥¸¤¬ÂоݤȤʤë¾ì¹ç¤Ï

<li class='relpage'><a href="´ØÏ¢¥Ú¡¼¥¸1¤Ø¤ÎURL" target="_blank">´ØÏ¢¥Ú¡¼¥¸1¤Î¥¿¥¤¥È¥ë</a></li>
<li class='relpage'><a href="´ØÏ¢¥Ú¡¼¥¸2¤Ø¤ÎURL" target="_blank">´ØÏ¢¥Ú¡¼¥¸2¤Î¥¿¥¤¥È¥ë</a></li>

¤Î¤è¤¦¤ËʤӤޤ¹¡£

[edit]

¥À¥¤¥Ê¥ß¥Ã¥¯¥Ñ¥Ö¥ê¥Ã¥·¥ó¥°Âбþ¾õ¶·

¥À¥¤¥Ê¥ß¥Ã¥¯¥Ñ¥Ö¥ê¥Ã¥·¥ó¥°¤Ë¤ÏÂбþ¤·¤Æ¤¤¤Þ¤»¤ó

[edit]

Âбþ¥Ð¡¼¥¸¥ç¥ó

MT4.2°Ê¾å(MT¡¢MTOSÁÐÊý¤È¤âÂбþ¡Ë

[edit]

¥é¥¤¥»¥ó¥¹

Artistic License

[edit]

¤´ÍøÍѤκݤÎÃí°Õ»ö¹à

¤´ÍøÍѤÏÍøÍѼԤÎÀÕǤ¤Ë¤ª¤¤¤Æ¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£Åö¥×¥é¥°¥¤¥ó¤ÎÍøÍѤˤè¤êÀ¸¤¸¤¿¤¤¤«¤Ê¤ë»³²¤Ë¤Ä¤¤¤Æ¤â³ô¼°²ñ¼Ò¥¢¡¼¥¯¥¦¥§¥Ö¤ÏÀÕǤ¤òÉ餦¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

Åê¹Æ¼Ô¿ÊÃÏ | ¥Ñ¡¼¥Þ¥ê¥ó¥¯

| append.gif

tag: Movable Type¡¢MT¡¢MTPlugin


źÉÕ¥Õ¥¡¥¤¥ë: filerelationalpage.png 1428·ï [¾ÜºÙ] fileRelationalPage-1.0.zip 1480·ï [¾ÜºÙ]

¥È¥Ã¥×   ÊÔ½¸ Åà·ë º¹Ê¬ ¥Ð¥Ã¥¯¥¢¥Ã¥× źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ñ¸ì¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS
Last-modified: 2009-03-26 (ÌÚ) 12:16:14 (5730d)

¥¢¡¼¥¯¥¦¥§¥Ö¤Î¥µ¡¼¥Ó¥¹¤ä¥½¥ê¥å¡¼¥·¥ç¥ó¤Ï¤³¤Á¤é