rsd.rsd.builder
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:1k
源码类别:

Ajax

开发平台:

Others

  1. xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
  2. xml.rsd "version"=>"1.0", "xmlns"=>"http://archipelago.phrasewise.com/rsd" do
  3.   xml.service do
  4.     xml.engineName "Typo"
  5.     xml.engineLink "http://www.typosphere.org"
  6.     xml.homePageLink url_for(:controller => "articles")
  7.     xml.apis do
  8.       xml.api "name" => "Movable Type", "preferred"=>"true",
  9.               "apiLink" => url_for(:controller => "backend", :action => "xmlrpc", :only_path => false),
  10.               "blogID" => "1"
  11.       xml.api "name" => "MetaWeblog", "preferred"=>"false",
  12.               "apiLink" => url_for(:controller => "backend", :action => "xmlrpc", :only_path => false),
  13.               "blogID" => "1"
  14.       xml.api "name" => "Blogger", "preferred"=>"false",
  15.               "apiLink" => url_for(:controller => "backend", :action => "xmlrpc", :only_path => false),
  16.               "blogID" => "1"
  17.     end
  18.   end
  19. end