MOSS 2007 爬网规则 Contentclass常用属性设置
我们在MOSS 2007中进行爬网设置的时候,在爬网范围可以设置相关的爬网规则,比如我们可以查看MOSS 2007 自带的人员搜索的爬网规则(路径:共享服务à搜索设置à查看范围à人员à编辑属性和规则),它的规则是这样写的:Contentclass=urn:content-class:spspeople。
对于Contentclass还有那些属性可以设置呢?查看如下文章:
http://msdn.microsoft.com/en-gb/library/ms975759.aspx
如下所示:
The ContentClass parameter can be one of the following values:
ContentClass |
m_csContentClassSPSSearchQuery ="urn:content-class:SPSSearchQuery" |
m_csContentClassSPSNewsListing ="urn:content-class:SPSListing:News" |
m_csContentClassSPSPeople ="urn:content-class:SPSPeople" |
m_csContentClassSPSCategory ="urn:content-classes:SPSCategory" |
m_csContentClassSPSListing ="urn:content-classes:SPSListing" |
m_csContentClassSPSListingPerson ="urn:content-classes:SPSPersonListing" |
m_csContentClassSPSListingText ="urn:content-classes:SPSTextListing" |
m_csContentClassSPSListingSite ="urn:content-classes:SPSSiteListing" |
m_csContentClassSPSListingSR ="urn:content-classes:SPSSiteRegistry" |
m_csContentClassSTSSite ="STS_Web" |
m_csContentClassSTSEvents ="STS_List_Events" |
m_csContentClassSTSTasks ="STS_List_Tasks" |
m_csContentClassSTSAnnouncements ="STS_List_Announcements" |
m_csContentClassSTSPictureLibrary ="STS_List_PictureLibrary", // Picture library list |
m_csContentClassSTSDocLibrary ="STS_List_DocumentLibrary", //doc library |
m_csContentClassSTSDocLibraryItems ="STS_ListItem_DocumentLibrary" //doc lib items |
m_csContentClassSTSPictureItem = "STS_ListItem_PictureLibrary", // picture library list item |
m_csContentClassSTSDiscussions = "STS_List_DiscussionBoard" |
m_csContentClassSTSContacts ="STS_List_Contacts" |
m_csContentClassSTSListBase ="STS_List" |
m_csContentClassSTSListing ="STS_List" |
m_csContentClassSTSLis tingLinks ="STS_List_Links"; |
m_csContentCLassSTSListItem ="STS_ListItem" |
转载要求及授权协议:
作者: 零零猪(or)Jiessie327(or)JiessieLiang
出处:http://jiessie327.cnblogs.com/
版权:本文版权归作者所有
转载:欢迎转载,为了尊重作者的劳动成果,在【转载】时请按作者要求,指明文章【出处】或给出【原文链接】,谢谢
================================================================
请遵守署名-非商业性使用-禁止演绎 2.5 中国大陆 License.
================================================================