xml Maven Move repo设置

Maven Move repo设置

MavenRepo.xml
<?xml version="1.0" encoding="UTF-8"?>

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

  <localRepository>F:/Maven_repo</localRepository>

</settings>

xml Maven Move repo设置

Maven Move repo设置

MavenRepo.xml
<?xml version="1.0" encoding="UTF-8"?>

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

  <localRepository>F:/Maven_repo</localRepository>

</settings>

xml XML解析器

XML解析器

xml-parser.js
function xmlParser(data) {
  xml = data;
  
  $(xml).find('item').each(function () {
    var title = $(this).find('title').text();
    var description = $(this).find('description').text();
    var link = $(this).find('link').text();
  
    $('#content').append('<article><h3><a href="' + link + '">' + title + '</a></h3><p>' + description + '</p></article>');
  });
}
sample.xml
<item>
  <title><![CDATA[ Férfi kosárlabda NB I - Sima fehérvári győzelem ]]> </title>
  <description><![CDATA[ Az Alba Fehérvár hazai környezetben simán nyert a Kaposvár ellen szombaton a férfi kosárlabda NB I-ben. ]]> </description>
  
  <link>http://hvg.hu/sport/20140111_Ferfi_kosarlabda_NB_I__Sima_fehervari_gy#rss</link>
  <author>hvg@hvg.hu</author>
  <pubDate>Sat, 11 Jan 2014 17:05:00 GMT</pubDate>
  <source url="http://hvg.hu/rss">hvg.hu</source>
</item>

xml h_domains.xml

h_domains.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.015">
  <context>
    <input/>
    <output/>
    <macros/>
  </context>
  <operator activated="true" class="process" compatibility="5.3.015" expanded="true" name="Process">
    <parameter key="logverbosity" value="init"/>
    <parameter key="random_seed" value="2001"/>
    <parameter key="send_mail" value="never"/>
    <parameter key="notification_email" value=""/>
    <parameter key="process_duration_for_mail" value="30"/>
    <parameter key="encoding" value="SYSTEM"/>
    <process expanded="true">
      <operator activated="true" class="execute_process" compatibility="5.3.015" expanded="true" height="76" name="Execute Process" width="90" x="45" y="30">
        <parameter key="process_location" value="//BRAIN/RECONCILE/read_flat_file"/>
        <parameter key="use_input" value="true"/>
        <parameter key="store_output" value="false"/>
        <parameter key="propagate_metadata_recursively" value="true"/>
        <parameter key="cache_process" value="true"/>
        <list key="macros"/>
      </operator>
      <operator activated="true" class="multiply" compatibility="5.3.015" expanded="true" height="130" name="Multiply" width="90" x="212" y="142"/>
      <operator activated="true" class="filter_examples" compatibility="5.3.015" expanded="true" height="76" name="EDU" width="90" x="514" y="345">
        <parameter key="condition_class" value="attribute_value_filter"/>
        <parameter key="parameter_string" value="document_url=edu"/>
        <parameter key="invert_filter" value="false"/>
      </operator>
      <operator activated="true" class="filter_examples" compatibility="5.3.015" expanded="true" height="76" name="GOV" width="90" x="514" y="120">
        <parameter key="condition_class" value="attribute_value_filter"/>
        <parameter key="parameter_string" value="document_url=gov"/>
        <parameter key="invert_filter" value="false"/>
      </operator>
      <operator activated="true" class="filter_examples" compatibility="5.3.015" expanded="true" height="76" name="ORG" width="90" x="514" y="255">
        <parameter key="condition_class" value="attribute_value_filter"/>
        <parameter key="parameter_string" value="document_url=org"/>
        <parameter key="invert_filter" value="false"/>
      </operator>
      <operator activated="true" class="filter_examples" compatibility="5.3.015" expanded="true" height="76" name="COM" width="90" x="514" y="435">
        <parameter key="condition_class" value="attribute_value_filter"/>
        <parameter key="parameter_string" value="document_url=com"/>
        <parameter key="invert_filter" value="false"/>
      </operator>
      <connect from_op="Execute Process" from_port="result 1" to_op="Multiply" to_port="input"/>
      <connect from_op="Multiply" from_port="output 1" to_op="GOV" to_port="example set input"/>
      <connect from_op="Multiply" from_port="output 2" to_op="ORG" to_port="example set input"/>
      <connect from_op="Multiply" from_port="output 3" to_op="EDU" to_port="example set input"/>
      <connect from_op="Multiply" from_port="output 4" to_op="COM" to_port="example set input"/>
      <connect from_op="EDU" from_port="example set output" to_port="result 3"/>
      <connect from_op="GOV" from_port="example set output" to_port="result 1"/>
      <connect from_op="ORG" from_port="example set output" to_port="result 2"/>
      <connect from_op="COM" from_port="example set output" to_port="result 4"/>
      <portSpacing port="source_input 1" spacing="0"/>
      <portSpacing port="sink_result 1" spacing="0"/>
      <portSpacing port="sink_result 2" spacing="0"/>
      <portSpacing port="sink_result 3" spacing="0"/>
      <portSpacing port="sink_result 4" spacing="0"/>
      <portSpacing port="sink_result 5" spacing="0"/>
    </process>
  </operator>
</process>

xml 江西省网的数据结构服务端返回的xml

江西省网的数据结构服务端返回的xml

Programs.xml
<?xml version="1.0" encoding="GBK"?>

 <Programs totalResults="30" restartAtToken="" >

 						<Program programId="818858" assetId="818858" programName="天气预报" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231002900" endDateTime="20131231003000" status="2"/>

 					<Program programId="818339" assetId="818339" programName="晓松说" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231003000" endDateTime="20131231004000" status="2"/>

 					<Program programId="818618" assetId="818618" programName="1/7" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231004000" endDateTime="20131231012800" status="2"/>

 					<Program programId="818327" assetId="818327" programName="劳动最光荣" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231012800" endDateTime="20131231020000" status="2"/>

 					<Program programId="818792" assetId="818792" programName="机器检修" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231020000" endDateTime="20131231060100" status="2"/>

 					<Program programId="818405" assetId="818405" programName="午夜剧场" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231060100" endDateTime="20131231065400" status="2"/>

 					<Program programId="818591" assetId="818591" programName="阳光舞林" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231065400" endDateTime="20131231070000" status="2"/>

 					<Program programId="818534" assetId="818534" programName="看东方" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231070000" endDateTime="20131231090100" status="2"/>

 					<Program programId="818711" assetId="818711" programName="妈妈咪呀" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231090100" endDateTime="20131231103100" status="2"/>

 					<Program programId="818852" assetId="818852" programName="上午剧场" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231103100" endDateTime="20131231111700" status="2"/>

 					<Program programId="818597" assetId="818597" programName="上午剧场" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231111700" endDateTime="20131231120000" status="2"/>

 					<Program programId="818369" assetId="818369" programName="东方午新闻" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231120000" endDateTime="20131231122800" status="2"/>

 					<Program programId="818402" assetId="818402" programName="天气预报" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231122800" endDateTime="20131231123000" status="2"/>

 					<Program programId="818411" assetId="818411" programName="我就是偶像" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231123000" endDateTime="20131231123600" status="2"/>

 					<Program programId="818594" assetId="818594" programName="下午剧场" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231123600" endDateTime="20131231133000" status="2"/>

 					<Program programId="818873" assetId="818873" programName="下午剧场" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231133000" endDateTime="20131231142500" status="2"/>

 					<Program programId="818774" assetId="818774" programName="下午剧场" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231142500" endDateTime="20131231151600" status="2"/>

 					<Program programId="818684" assetId="818684" programName="下午剧场" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231151600" endDateTime="20131231160600" status="2"/>

 					<Program programId="818441" assetId="818441" programName="下午剧场" channelId="818306" isNPVR="0" 

 				isTVAnyTime="0" startDateTime="20131231160600" endDateTime="20131231165000" status="2"/>

 					</Programs>

 	
ChannelSelectionStartResponse.xml
<?xml version="1.0" encoding="UTF-8"?>
<ChannelSelectionStartResponse access-url="rtsp://192.168.2.55:9627/;purchaseToken=3cd23c69462e07dd9144665d7cad83e7;serverId=192.168.2.52" />
ChannelSelectionStart.xml
<?xml version="1.0" encoding= "UTF-8" ?>
<ChannelSelectionStart account="1" assetId="818852" channelId="818306" clientId="192.168.2.52" deviceId="CA_CARD_123" startDateTime="20131231103100"/>
Channel.xml
<?xml version="1.0" encoding="GBK"?>

 <Channels totalResults="4" restartAtToken="0" timeShiftURL="">

 						<Channel channelID="817447" channelCode="10001010-00000000000000000000345" channelName="CCTV-7" channelNumber="0" 

 				logo="" isStartOver="1" isNPVR="0" isStandardChannel="1"

 				isTVAnyTime="1" npvrOrderFlag="0" tVAnyTimeOrderFlag="0" startOverOrderFlag="0">

 									<Parameter serviceId="123" frequency="" Qam="" symbolRate="" bitRate=""

 						customerGroup="" tsId="123" onId="" broadcastIp="" broadcastPort=""/>

 							</Channel>

 					<Channel channelID="817682" channelCode="10001010-00000000000000000000360" channelName="CCTV-14" channelNumber="0" 

 				logo="" isStartOver="1" isNPVR="0" isStandardChannel="1"

 				isTVAnyTime="1" npvrOrderFlag="0" tVAnyTimeOrderFlag="0" startOverOrderFlag="0">

 									<Parameter serviceId="123" frequency="" Qam="" symbolRate="" bitRate=""

 						customerGroup="" tsId="123" onId="" broadcastIp="" broadcastPort=""/>

 							</Channel>

 					<Channel channelID="818306" channelCode="10001010-00000000000000000000894" channelName="东方卫视" channelNumber="0" 

 				logo="test" isStartOver="1" isNPVR="0" isStandardChannel="1"

 				isTVAnyTime="1" npvrOrderFlag="0" tVAnyTimeOrderFlag="0" startOverOrderFlag="0">

 									<Parameter serviceId="610" frequency="" Qam="" symbolRate="" bitRate=""

 						customerGroup="" tsId="24" onId="" broadcastIp="" broadcastPort=""/>

 							</Channel>

 					<Channel channelID="818898" channelCode="10001010-00000000000000000001053" channelName="江西卫视" channelNumber="0" 

 				logo="test" isStartOver="1" isNPVR="0" isStandardChannel="1"

 				isTVAnyTime="1" npvrOrderFlag="0" tVAnyTimeOrderFlag="0" startOverOrderFlag="0">

 									<Parameter serviceId="111" frequency="" Qam="" symbolRate="" bitRate=""

 						customerGroup="" tsId="2" onId="" broadcastIp="" broadcastPort=""/>

 							</Channel>

 			</Channels>

xml Openbox menu.xml

Openbox menu.xml

menu.xml
<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/                 file:///usr/share/openbox/menu.xsd">
	<menu id="root-menu" label="Openbox 3">
		<item label="Run Program">
			<action name="Execute">
				<command>
					gmrun
				</command>
			</action>
		</item>
		<separator/>
		<item label="Terminal">
			<action name="Execute">
				<command>
					terminator
				</command>
			</action>
		</item>
		<item label="Web Browser">
			<action name="Execute">
				<command>
					x-www-browser
				</command>
			</action>
		</item>
		<item label="File Manager">
			<action name="Execute">
				<command>
					thunar
				</command>
			</action>
		</item>
		<item label="Text Editor">
			<action name="Execute">
				<command>
					geany
				</command>
			</action>
		</item>
		<separator/>
		<menu id="accessories" label="Accessories">
			<item label="Catfish File Search">
				<action name="Execute">
					<command>
						catfish
					</command>
				</action>
			</item>
			<item label="Archive Manager">
				<action name="Execute">
					<command>
						file-roller
					</command>
				</action>
			</item>
			<item label="Geany Text Editor">
				<action name="Execute">
					<command>
						geany
					</command>
				</action>
			</item>
			<item label="Task Manager (htop)">
				<action name="Execute">
					<command>terminator --command=&quot;htop&quot;</command>
				</action>
			</item>
			<item label="Terminator Terminal">
				<action name="Execute">
					<command>
						terminator
					</command>
				</action>
			</item>
			<item label="Thunar File Manager">
				<action name="Execute">
					<command>
						thunar
					</command>
				</action>
			</item>
			<item label="Thunar File Manager (root)">
				<action name="Execute">
					<command>
						gksudo thunar
					</command>
				</action>
			</item>
		</menu>
		<menu id="root-menu-101141" label="Development">
			<item label="Code::Blocks">
				<action name="Execute">
					<command>codeblocks</command>
				</action>
			</item>
			<item label="Eclipse">
				<action name="Execute">
					<command>~/eclipse/eclipse</command>
				</action>
			</item>
		</menu>
		<menu id="graphics" label="Graphics">
			<item label="GIMP">
				<action name="Execute">
					<command>
						gimp
					</command>
				</action>
			</item>
			<item label="Viewnior Image Viewer">
				<action name="Execute">
					<command>
						viewnior
					</command>
				</action>
			</item>
			<menu id="graphicsScreenshots" label="Take Screenshot">
				<item label="Screenshooter">
					<action name="Execute">
						<command>
							xfce4-screenshooter
						</command>
					</action>
				</item>
				<separator label="scrot"/>
				<item label="Now">
					<action name="Execute">
						<command>
							scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'
						</command>
					</action>
				</item>
				<item label="In 5 Seconds...">
					<action name="Execute">
						<command>
							scrot -d 5 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'
						</command>
					</action>
				</item>
				<item label="In 10 Seconds...">
					<action name="Execute">
						<command>
							scrot -d 10 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'
						</command>
					</action>
				</item>
				<item label="Selected Area... (click &amp; drag mouse)">
					<action name="Execute">
						<command>
							scrot -s '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'
						</command>
					</action>
				</item>
			</menu>
		</menu>
		<menu id="multimedia" label="Multimedia">
			<item label="Clementine">
				<action name="Execute">
					<command>clementine</command>
				</action>
			</item>
			<item label="Volume Control">
				<action name="Execute">
					<command>
						pavucontrol
					</command>
				</action>
			</item>
			<item label="Xfburn">
				<action name="Execute">
					<command>
						xfburn
					</command>
				</action>
			</item>
		</menu>
		<menu id="network" label="Network">
			<menu execute="cb-x-www-browser-pipemenu" id="wwwbrowsers" label="WWW Browsers"/>
			<item label="Deluge">
				<action name="Execute">
					<command>deluge</command>
				</action>
			</item>
			<item label="XChat IRC Client">
				<action name="Execute">
					<command>
						xchat
					</command>
				</action>
			</item>
			<item label="Remote Filesystems">
				<action name="Execute">
					<command>
						gigolo
					</command>
				</action>
			</item>
			<menu execute="cb-remote-desktop-pipemenu" id="remotedesktop" label="Remote Desktop"/>
			<menu execute="cb-sshconfig-pipemenu" id="sshconfig" label="SSH"/>
			<separator label="Services"/>
			<menu execute="cb-dropbox-pipemenu" id="dropbox" label="Dropbox"/>
		</menu>
		<menu id="office" label="Office">
			<item label="Artha">
				<action name="Execute">
					<command>artha</command>
				</action>
			</item>
			<menu id="office-314628" label="Open Office">
				<item label="Draw">
					<action name="Execute">
						<command>soffice -draw</command>
					</action>
				</item>
				<item label="Writer">
					<action name="Execute">
						<command>soffice -wrtier</command>
					</action>
				</item>
				<item label="Impress">
					<action name="Execute">
						<command>soffice -impress</command>
					</action>
				</item>
				<item label="Math">
					<action name="Execute">
						<command>soffice -math</command>
					</action>
				</item>
				<item label="Calc">
					<action name="Execute">
						<command>soffice -calc</command>
					</action>
				</item>
			</menu>
			<item label="Google Docs">
				<action name="Execute">
					<command>
						x-www-browser https://drive.google.com/
					</command>
				</action>
			</item>
			<item label="Calculator">
				<action name="Execute">
					<command>
						galculator
					</command>
				</action>
			</item>
			<item label="Evince PDF Viewer">
				<action name="Execute">
					<command>
						evince
					</command>
				</action>
			</item>
		</menu>
		<separator/>
		<menu execute="cb-places-pipemenu" id="pipe-placesmenu" label="Places"/>
		<menu execute="cb-recent-files-pipemenu" id="pipe-recentfilesmenu" label="Recent Files"/>
		<separator/>
		<menu id="settings" label="Settings">
			<menu execute="cb-compositor" id="CompositingPipeMenu" label="Compositor"/>
			<menu id="conkyconfig" label="Conky">
				<item label="Edit .conkyrc">
					<action name="Execute">
						<command>
							geany ~/.conkyrc
						</command>
					</action>
				</item>
				<item label="Restart Conky">
					<action name="Execute">
						<command>
							conkywonky
						</command>
					</action>
				</item>
				<separator label="Help?"/>
				<item label="man page">
					<action name="Execute">
						<command>
							terminator --command=&quot;man conky&quot;
						</command>
					</action>
				</item>
				<item label="Wiki Page">
					<action name="Execute">
						<command>
							x-www-browser http://crunchbanglinux.org/wiki/conky
						</command>
					</action>
				</item>
			</menu>
			<menu id="dmenuconfig" label="dmenu">
				<item label="Edit start-up script">
					<action name="Execute">
						<command>
							geany ~/.config/dmenu/dmenu-bind.sh
						</command>
					</action>
				</item>
				<separator label="Help?"/>
				<item label="man page">
					<action name="Execute">
						<command>
							terminator --command=&quot;man dmenu&quot;
						</command>
					</action>
				</item>
			</menu>
			<menu id="gmrunconfig" label="gmrun">
				<item label="Edit config file">
					<action name="Execute">
						<command>
							geany ~/.gmrunrc
						</command>
					</action>
				</item>
				<separator label="Help?"/>
				<item label="man page">
					<action name="Execute">
						<command>
							terminator --command=&quot;man gmrun&quot;
						</command>
					</action>
				</item>
			</menu>
			<menu id="obConfig" label="Openbox">
				<item label="Edit menu.xml">
					<action name="Execute">
						<command>
							geany ~/.config/openbox/menu.xml
						</command>
					</action>
				</item>
				<item label="Edit rc.xml">
					<action name="Execute">
						<command>
							geany ~/.config/openbox/rc.xml
						</command>
					</action>
				</item>
				<item label="Edit autostart">
					<action name="Execute">
						<command>
							geany ~/.config/openbox/autostart
						</command>
					</action>
				</item>
				<separator/>
				<item label="GUI Menu Editor">
					<action name="Execute">
						<command>
							obmenu
						</command>
					</action>
				</item>
				<item label="GUI Applications Settings Editor">
					<action name="Execute">
						<command>
							obapps
						</command>
					</action>
				</item>
				<item label="GUI Config Tool">
					<action name="Execute">
						<command>
							obconf
						</command>
					</action>
				</item>
				<separator/>
				<item label="Reconfigure">
					<action name="Reconfigure"/>
				</item>
				<item label="Restart">
					<action name="Restart"/>
				</item>
			</menu>
			<menu id="terminatorconfig" label="Terminator">
				<item label="Edit config file">
					<action name="Execute">
						<command>
							geany ~/.config/terminator/config
						</command>
					</action>
				</item>
				<separator label="Help?"/>
				<item label="man page">
					<action name="Execute">
						<command>
							terminator --command=&quot;man terminator_config&quot;
						</command>
					</action>
				</item>
			</menu>
			<menu id="tint2config" label="tint2">
				<item label="Edit config file">
					<action name="Execute">
						<command>
							geany ~/.config/tint2/tint2rc
						</command>
					</action>
				</item>
				<item label="Restart tint2">
					<action name="Execute">
						<command>
							tint2restart
						</command>
					</action>
				</item>
				<separator label="Help?"/>
				<item label="man page">
					<action name="Execute">
						<command>
							terminator --command=&quot;man tint2&quot;
						</command>
					</action>
				</item>
				<item label="Online Help">
					<action name="Execute">
						<command>
							x-www-browser http://code.google.com/p/tint2/wiki/Welcome
						</command>
					</action>
				</item>
			</menu>
			<menu id="DisplaySettings" label="Display Settings">
				<item label="ARandR Screen Layout Editor">
					<action name="Execute">
						<command>
						    arandr
					    </command>
					</action>
				</item>
				<separator label="Help?"/>
				<item label="man xrandr">
					<action name="Execute">
						<command>
						    terminator --command=&quot;man xrandr&quot;
					    </command>
					</action>
				</item>
			</menu>
			<menu id="Notifications" label="Notifications">
				<item label="settings">
					<action name="Execute">
						<command>xfce4-notifyd-config</command>
					</action>
				</item>
			</menu>
			<item label="Edit Default Applications">
				<action name="Execute">
					<command>
						terminator --command=&quot;sudo update-alternatives --all&quot;
					</command>
				</action>
			</item>
			<item label="User Interface Settings">
				<action name="Execute">
					<command>
						lxappearance
					</command>
				</action>
			</item>
			<item label="Power Management">
				<action name="Execute">
					<command>
						xfce4-power-manager-settings
					</command>
				</action>
			</item>
			<item label="Screensaver">
				<action name="Execute">
					<command>
						xscreensaver-demo
					</command>
				</action>
			</item>
			<item label="Choose Wallpaper">
				<action name="Execute">
					<command>
						nitrogen ~/images/wallpapers/
					</command>
				</action>
			</item>
		</menu>
		<menu id="system" label="System">
			<item label="AMD Catalyst Control Center">
				<action name="Execute">
					<command>gksudo amdcccle</command>
				</action>
			</item>
			<menu execute="cb-printing-pipemenu" id="PrintingPipeMenu" label="Printers"/>
			<item label="GParted">
				<action name="Execute">
					<command>
						gksudo gparted
					</command>
				</action>
			</item>
			<item label="Synaptic Package Manager">
				<action name="Execute">
					<command>
						gksudo synaptic
					</command>
				</action>
			</item>
			<item label="User Login Settings">
				<action name="Execute">
					<command>
						gksudo slimconf
					</command>
				</action>
			</item>
		</menu>
		<!--<menu id="help" label="Help" execute="cb-help-pipemenu" />-->
		<separator/>
		<item label="Lock Screen">
			<action name="Execute">
				<command>
					cb-lock
				</command>
			</action>
		</item>
		<item label="Exit">
			<action name="Execute">
				<command>
					cb-exit
				</command>
			</action>
		</item>
	</menu>
</openbox_menu>

xml 通过XML添加EasySlider

通过XML添加EasySlider

gistfile1.xml
<block type="easyslide/slider" name="homepage.default_a000">
    <action method="setSliderId"><id>default_a000</id></action>
</block>

xml IE6修复

IE6修复

gistfile1.xml
<!--[if lt IE 7]><br clear="all"/><![endif]-->

xml 添加slder'新产品'计数

添加slder'新产品'计数

gistfile1.xml
<block type="catalog/product_new" name="home.product.new" alias="product_new" template="catalog/product/new.phtml">
    <action method="setProductsCount"><count>8</count></action>
    <action method="addPriceBlockType">
      <type>bundle</type>
      <block>bundle/catalog_product_price</block>
      <template>bundle/catalog/product/price.phtml</template>
    </action>
</block>

xml 删除块

删除块

gistfile1.xml
<remove name="block_name"></remove>