1.連結至https://feedburner.google.com/fb/a/myfeeds用google帳戶登入

2.輸入rss連結,如https://myyhhuang.wordpress.com/feed/

1-2

3.click Next Button,可以得到一個連結,再加到網站上

4.步驟3的連結放到網站上,點選後會出現如下畫面,可讓網站使用者加入各RSS reader

2

Ex.http://feedly.com/其連結為feeds.feedburner.com

1

未來若網站改網址,其它使用者不需變動您的rss位置,只需至feedburner調整至新的網址即可

(My Feeds => Edit Feed Details => Original Feed => Save Feed Details)

1.GIF

使用Google FeedBurner

因SEO建議動態網址需調整成靜態網址(不使用?後帶參數),
如此搜尋引擎才會區分為不同頁面。

為了將struts2原本的http://localhost/myweb/Index.action?blogId=30,
調整為http://localhost/myweb/blog30.action
PS.其中30為blog的字串,會變動

於struts.xml加入以下設定於<struts>…</struts>內
2

並於原本的action name為Index_*下再新增action name為blog{blogId}的設定,
預期以下3連結均能使用:
1.http://localhost/myweb/blog30.action
2.http://localhost/myweb/Index.action
3.http://localhost/myweb/Index_getJson.action
13

但設定後http://localhost/myweb/Index_getJson.action卻無法mapping至正確的action,
仔細研究constant的struts.patternMatcher之設定regex、namedVariable均可以設定為靜態網址,
而action name : Index_對於mapping來說可能非變數,
看到網路有將*調整成{method},
經設定後變成http://localhost/myweb/Index.action無法使用;

再調整action name : Index{method},
則可正確使用http://localhost/myweb/Index.action,
而http://localhost/myweb/Index_getJson.action就調整為http://localhost/myweb/IndexgetJson.action即可。
設定如下:
4

struts2 : SEO建議動態網址需調整成靜態網址,如此搜尋引擎才會區分為不同頁面

1.html

1.GIF

 

2.css

.container {
display:inline-block;
overflow:hidden;
white-space: nowrap;
}

.d1 {
display: inline-block;
}

.d2 {
white-space: nowrap;
display: inline-block;
}

la

css : 2個div中間不換行

外部div css設定如下:

display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-align: center;
-webkit-align-items: center;
-webkit-box-align: center;
align-items: center;

css : 內部div高度同外部div解法