亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? rfc2731.txt

?? 本程序?yàn)樵趌inux下實(shí)現(xiàn)FTP傳輸文件的實(shí)現(xiàn)
?? TXT
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
文檔提供者應(yīng)該保有一份單獨(dú)的文檔模板,保存很少改變的預(yù)設(shè)值和元數(shù)據(jù)元素如果用戶的需要非常簡(jiǎn)單,兩份文檔除了標(biāo)題之外都相同,那么這些元素就能自動(dòng)生成。使用該腳本程序,這些元數(shù)據(jù)的值可以向變量那樣在模板或者HTML文檔中引用。變量的引用形式類似于“(--mbVARNAME)”,模板中的格式如下:
       <title> (--mbtitle) </title>
       <meta name    = "DC.Creator"
             content = "Simpson, Homer">
       <meta name    = "DC.Title"
             content = "(--mbtitle)">
       <meta name    = "DC.Date.Created"
             content = "(--mbfilemodtime)">
       <meta name    = "DC.Identifier"
             content = "(--mbbaseURL)/(--mbfilename)">
       <meta name    = "DC.Format"
             content = "text/html; (--mbfilesize)">
       <meta name    = "DC.Language"
             content = "(--mblanguage)-BUREAUCRATESE">
       <meta name    = "RC.MetadataAuthority"
             content = "Springfield Nuclear">
       <link rel     = "schema.DC"
             href    = "http://purl.org/DC/elements/1.0/">
       <link rel     = "schema.RC"
             href    = "http://nukes.org/ReactorCore/rc">
只要把其中的變量引用代入實(shí)際值,上面的模板就可作為描述文檔的元數(shù)據(jù)塊。 根據(jù)我們的腳本,下述變量要同時(shí)在模板和文檔中替換:
       (--mbfilesize)            size of the final output file
       (--mbtitle)               title of the document
       (--mblanguage)            language of the document
       (--mbbaseURL)             beginning part of document identifier
       (--mbfilename)            last part (minus .html) of identifier
       (--mbfilemodtime)         last modification date of the document
這是一個(gè)應(yīng)用該腳本的HTML文檔:
       <html>
       <head>
       <!--metablock Nutritional Allocation Increase -->
       <meta name    = "DC.Type"
             content = "Memorandum">
       </head>
       <body>
       <p>
       From:  Acting Shift Supervisor
       To:    Plant Control Personnel
       RE:    (--mbtitle)
       Date:  (--mbfilemodtime)
       <p>
       Pursuant to directive DOH:10.2001/405aec of article B-2022,
       subsection 48.2.4.4.1c regarding staff morale and employee
       productivity standards, the current allocation of doughnut
       acquisition funds shall be increased effective immediately.
       </body>
       </html>
由于替換在整個(gè)文檔范圍內(nèi)進(jìn)行,作者只要輸入標(biāo)題一次就可以了(通常標(biāo)題要在首部和HTML文檔體內(nèi)輸入兩次)。運(yùn)行腳本程序后,上面的文件就被轉(zhuǎn)換成:
       <html>
       <head>
           <title> Nutritional Allocation Increase </title>
       <meta name    = "DC.Creator"
             content = "Simpson, Homer">
       <meta name    = "DC.Title"
             content = "Nutritional Allocation Increase">
       <meta name    = "DC.Date.Created"
             content = "1999-03-08">
       <meta name    = "DC.Identifier"
             content = "http://moes.bar.com/doh/homer.html">
       <meta name    = "DC.Format"
             content = "text/html;    1320  bytes">
       <meta name    = "DC.Language"
             content = "en-BUREAUCRATESE">
       <meta name    = "RC.MetadataAuthority"
             content = "Springfield Nuclear">
       <link rel     = "schema.DC"
             href    = "http://purl.org/DC/elements/1.0/">
       <link rel     = "schema.RC"

             href    = "http://nukes.org/ReactorCore/rc">
       <meta name    = "DC.Type"
             content = "Memorandum">
       </head>
       <body>
       <p>
       From:  Acting Shift Supervisor
       To:    Plant Control Personnel
       RE:    Nutritional Allocation Increase
       Date:  1999-03-08
       <p>
       Pursuant to directive DOH:10.2001/405aec of article B-2022,
       subsection 48.2.4.4.1c regarding staff morale and employee
       productivity standards, the current allocation of doughnut
       acquisition funds shall be increased effective immediately.
       </body>
       </html>
下面是完成這一轉(zhuǎn)換過(guò)程的腳本:
#!/depot/bin/perl
#
# This Perl script processes metadata block declarations of the form
# <!--metablock TITLE_OF_DOCUMENT --> and variable references of the
# form (--mbVARNAME), replacing them with full metadata blocks and
# variable values, respectively.  Requires a "template" file.
# Outputs an HTML file.
#
# Invoke this script with a single filename argument, "foo".  It creates
# an output file "foo.html" using a temporary working file "foo.work".
# The size of foo.work is measured after variable replacement, and is
# later inserted into the file in such a way that the file's size does
# not change in the process.  Has little or no error checking.

$infile = shift;
open(IN, "< $infile")
        or die("Could not open input file \"$infile\"");
$workfile = "$infile.work";
unlink($workfile);
open(WORK, "+> $workfile")
        or die("Could not open work file \"$workfile\"");

@offsets = ();          # records locations for late size replacement
$title = "";            # gets the title during metablock processing
$language = "en";       # pre-set language here (not in the template)
$baseURL = "http://moes.bar.com/doh";   # pre-set base URL here also
$filename = "$infile.html";             # final output filename
$filesize = "(--mbfilesize)";           # replaced late (separate pass)

($year, $month, $day) = (localtime( (stat IN) [9] ))[5, 4, 3];
$filemodtime = sprintf "%s-%02s-%02s", 1900 + $year, 1 + $month, $day;

sub putout {            # outputs current line with variable replacement
        if (! /\(--mb/) {
                print WORK;
                return;
        }
        if (/\(--mbfilesize\)/)                 # remember where it was
                { push @offsets, tell WORK; }   # but don't replace yet
        s/\(--mbtitle\)/$title/g;
        s/\(--mblanguage\)/$language/g;
        s/\(--mbbaseURL\)/$baseURL/g;
        s/\(--mbfilename\)/$filename/g;
        s/\(--mbfilemodtime\)/$filemodtime/g;
        print WORK;
}

while (<IN>) {                          # main loop for input file
        if (! /(.*)<!--metablock\s*(.*)/) {
                &putout;
                next;
        }
        $title = $2;
        $_ = $1;
        &putout;
        if ($title =~ s/\s*-->(.*)//) {
                $remainder = $1;
        }
        else {
                while (<IN>) {
                        $title .= $_;
                        last if (/(.*)\s*-->(.*)/);
                }
                $title .= $1;
                $remainder = $2;
        }
        open(TPLATE, "< template")
                or die("Could not open template file");
        while (<TPLATE>)                # subloop for template file
                { &putout; }
        close(TPLATE);
        $_ = $remainder;
        &putout;

}
close(IN);

# Now replace filesize variables without altering total byte count.
select( (select(WORK), $| = 1) [0] );   # first flush output so we
if (($size = -s WORK) < 100000)         # can get final file size
        { $scale = 0; }                 # and set scale factor or
else {                  # compute it, keeping width of size field low
        for ($scale = 0; $size >= 1000; $scale++)
                { $size /= 1024; }
}
$filesize = sprintf "%7.7s %sbytes",
        $size, (" ", "K", "M", "G", "T", "P") [$scale];

foreach $pos (@offsets) {       # loop through saved size locations
        seek WORK, $pos, 0;             # read the line found there
        $_ = <WORK>;
        # $filesize must be exactly as wide as "(--mbfilesize)"
        s/\(--mbfilesize\)/$filesize/g;
        seek WORK, $pos, 0;             # rewrite it with replacement
        print WORK;
}

close(WORK);
rename($workfile, "$filename")
        or die("Could not rename \"$workfile\" to \"$filename\"");
# ---- end of Perl script ----
10. 作者地址
John A. Kunze
Center for Knowledge Management
University of California, San Francisco
530 Parnassus Ave, Box 0840
San Francisco, CA  94143-0840, USA
Fax:   +1 415-476-4653
EMail: jak@ckm.ucsf.edu
11、參考資料
[AAT]Art and Architecture Thesaurus, Getty Information Institute.
                    http://shiva.pub.getty.edu/aat_browser/
[AC]The A-Core: Metadata about Content Metadata, (inprogress)
                    http://metadata.net/ac/draft-iannella-admin-01.txt
[DC1]Weibel, S., Kunze, J., Lagoze, C. and M. Wolf,"Dublin Core Metadata for Resource Discovery", RFC 2413, September 1998.
                    ftp://ftp.isi.edu/in-notes/rfc2413.txt
[DCHOME]Dublin Core Initiative Home Page.
                    http://purl.org/DC/
[DCPROJECTS]Projects Using Dublin Core Metadata.
                    http://purl.org/DC/projects/index.htm
[DCT1]Dublin Core Type List 1, DC Type Working Group, March 1999.
                    http://www.loc.gov/marc/typelist.html
[freeWAIS-sf2.0] The enhanced freeWAIS distribution, February 1999.
                    http://ls6-www.cs.uni-dortmund.de/ir/projects/freeWAIS-sf/
[GLIMPSE]Glimpse Home Page.
                    http://glimpse.cs.arizona.edu/
[HARVEST]Harvest Web Indexing.
                    http://www.tardis.ed.ac.uk/harvest/
[HTML4.0]Hypertext Markup Language 4.0 Specification, April 1998.
                    http://www.w3.org/TR/REC-html40/
[ISEARCH]Isearch Resources Page.
                    http://www.etymon.com/Isearch/
[ISO639-2]Code for the representation of names of languages, 1996.
                    http://www.indigo.ie/egt/standards/iso639/iso639-2-en.html
[ISO8601]ISO 8601:1988(E), Data elements and interchange formats -- Information interchange - Representation of dates and times, International Organization for standardization, June 1988.
                    http://www.iso.ch/markete/8601.pdf
[MARC]USMARC Format for Bibliographic Data, US Library of Congress.
                    http://lcweb.loc.gov/marc/marc.html
[PERL]L. Wall, T. Christiansen, R. Schwartz, Programming Perl, Second Edition, O'Reilly, 1996.
[RDF]Resource Description Framework Model and Syntax Specification, February 1999.
                    http://www.w3.org/TR/REC-rdf-syntax/
[RFC1766]Alvestrand, H., "Tags for the Identification of Languages", RFC 1766, March 1996.
                    ftp://ftp.isi.edu/in-notes/rfc1766.txt
[SWISH-E]Simple Web Indexing System for Humans - Enhanced.
                    http://sunsite.Berkeley.EDU/SWISH-E/
[TGN]Thesaurus of Geographic Names, Getty Information Institute.
                    http://shiva.pub.getty.edu/tgn_browser/
[WTN8601]W3C Technical Note - Profile of ISO 8601 Date and Time Formats.
                    http://www.w3.org/TR/NOTE-datetime
[XML]Extensible Markup Language (XML).
                    http://www.w3.org/TR/REC-xml
12、版權(quán)聲明
Copyright (C) The Internet Society (1999).  All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works.  However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an  "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the Internet Society.



RFC2731--Encoding Dublin Core Metadata in HTML                   在HTML中使用DC元數(shù)據(jù)



RFC文檔中文翻譯計(jì)劃





?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
激情综合色综合久久| 亚洲人亚洲人成电影网站色| 精品福利一二区| 国产精品视频一二三区| 中文字幕亚洲精品在线观看| 亚洲图片欧美视频| 狠狠色综合日日| 色爱区综合激月婷婷| 日韩精品一区国产麻豆| 国产精品免费视频网站| 亚洲黄色免费网站| 久久国产精品99久久久久久老狼 | 成人免费视频caoporn| 91小视频免费观看| 制服丝袜一区二区三区| 亚洲国产电影在线观看| 午夜精品久久久久久不卡8050| 国产精品一区专区| 欧美主播一区二区三区| 香蕉久久一区二区不卡无毒影院| 国产中文字幕一区| 欧美伊人久久大香线蕉综合69| 精品99久久久久久| 亚洲女人****多毛耸耸8| 久久疯狂做爰流白浆xx| 色综合天天综合在线视频| 日韩一区二区精品在线观看| 亚洲日本在线天堂| 麻豆成人久久精品二区三区红| 99久久久无码国产精品| 日韩欧美国产一区二区三区| 亚洲蜜桃精久久久久久久| 国内精品嫩模私拍在线| 日本黄色一区二区| 欧美韩国日本不卡| 久久精品国产免费| 欧美日韩久久久久久| 国产精品久线观看视频| 久久精品99国产精品| 欧美日韩专区在线| 亚洲色图视频免费播放| 国产精品一区二区91| 欧美一区二区三区人| 一区二区久久久久久| 国产乱子轮精品视频| 欧美一级欧美一级在线播放| 一区二区三区久久| av资源网一区| 国产欧美精品一区二区色综合 | 91精品一区二区三区在线观看| 综合激情网...| 国产91丝袜在线播放0| 欧美电视剧在线看免费| 日韩电影在线观看一区| 欧美性受极品xxxx喷水| 亚洲女女做受ⅹxx高潮| 99re亚洲国产精品| 国产精品免费丝袜| 粉嫩久久99精品久久久久久夜| 久久亚洲私人国产精品va媚药| 麻豆精品视频在线| 欧美欧美欧美欧美首页| 一区二区不卡在线播放 | 1024成人网色www| 成人综合婷婷国产精品久久| 久久日一线二线三线suv| 老司机精品视频导航| 日韩欧美久久久| 看电视剧不卡顿的网站| 日韩免费视频线观看| 免费在线视频一区| 日韩一级成人av| 日本不卡的三区四区五区| 日韩一级免费一区| 色婷婷av一区二区三区大白胸| 国产精品久久久久一区| 99久久精品免费看国产| 亚洲欧美视频在线观看视频| 91丨porny丨在线| 亚洲男女一区二区三区| 91国在线观看| 天天色天天操综合| 91精品久久久久久久91蜜桃| 另类调教123区| 久久欧美中文字幕| 丁香婷婷综合激情五月色| 亚洲欧洲av一区二区三区久久| 成人avav影音| 亚洲精品中文字幕在线观看| 欧美日韩中文字幕精品| 日本91福利区| 国产欧美精品一区aⅴ影院 | 国产精品国产精品国产专区不蜜| 99精品视频免费在线观看| 一区二区三区毛片| 欧美一区二区国产| 国内一区二区在线| 国产精品嫩草影院av蜜臀| 日本精品免费观看高清观看| 天天操天天色综合| 精品国产免费久久| 岛国精品在线观看| 亚洲综合激情另类小说区| 日韩丝袜美女视频| 成人深夜福利app| 亚洲一区中文在线| 日韩视频在线一区二区| 成人美女视频在线看| 亚洲国产综合在线| 久久免费美女视频| 91麻豆精品在线观看| 午夜免费欧美电影| 亚洲精品一区二区三区精华液| 97精品久久久午夜一区二区三区| 三级欧美在线一区| 国产欧美一区二区精品性色 | 天天综合天天综合色| 久久影音资源网| 一本一道久久a久久精品| 日韩成人午夜电影| 国产精品久久久久久一区二区三区| 欧美这里有精品| 国产精品一区二区三区四区| 亚洲主播在线播放| 国产日韩欧美综合一区| 欧美视频完全免费看| 国产成人亚洲精品青草天美| 亚洲成精国产精品女| 久久精子c满五个校花| 欧美日韩免费不卡视频一区二区三区 | 精品一区二区在线观看| 亚洲欧美日韩一区| 欧美精品一区男女天堂| 欧美亚洲丝袜传媒另类| 国产乱人伦精品一区二区在线观看| 亚洲精品成a人| 久久久99免费| 欧美日韩国产经典色站一区二区三区 | 欧美三级电影网站| 国产凹凸在线观看一区二区| 日本中文一区二区三区| 亚洲色图一区二区三区| 精品国产区一区| 欧美乱妇20p| 91女人视频在线观看| 国产一区二区电影| 日韩高清不卡在线| 韩国欧美国产一区| 一区二区三区加勒比av| 日本一区二区三区高清不卡| 日韩欧美成人一区二区| 欧美日韩综合色| 99久久er热在这里只有精品66| 韩国精品在线观看| 日韩精品一区第一页| 一区二区三区久久| 国产精品第一页第二页第三页| 久久综合九色欧美综合狠狠 | 蜜桃视频一区二区三区| 亚洲午夜精品一区二区三区他趣| 中文字幕不卡在线| 精品国产不卡一区二区三区| 这里只有精品视频在线观看| 欧美特级限制片免费在线观看| 972aa.com艺术欧美| 成人中文字幕电影| 国精品**一区二区三区在线蜜桃| 日韩国产一区二| 亚洲一区二区三区四区的| 亚洲精品欧美激情| 《视频一区视频二区| 国产精品久久久久久久久快鸭 | 蜜臀久久99精品久久久久宅男| 亚洲gay无套男同| 亚洲精品日韩综合观看成人91| 成人免费一区二区三区在线观看| 久久精品免视看| 久久综合久久综合九色| 久久欧美一区二区| 久久蜜桃一区二区| 久久免费精品国产久精品久久久久| 精品sm在线观看| 欧美精品一区二区三区视频| 欧美mv和日韩mv的网站| 精品欧美一区二区在线观看| 日韩精品中文字幕在线一区| 精品国产乱码久久| 久久久久国产一区二区三区四区 | 免费看欧美美女黄的网站| 三级在线观看一区二区| 午夜电影网亚洲视频| 日韩成人伦理电影在线观看| 美美哒免费高清在线观看视频一区二区| 免费日韩伦理电影| 毛片av一区二区三区| 国产一区二区精品久久| 成人性生交大合| 99久久久久久99| 91福利精品视频| 欧美久久一区二区|