=====* UniMarc [0.0148] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) ** 1. 마크 정리 ㄴ> 검색태그 수정 및 추가 기능 추가. ㄴ> 태그가 존재하나, 식별기호가 존재하지 않는 경우를 아직 구현하지 못함. 2. 복본 조사 ㄴ> 전북대학교 복본조사 추가. ㄴ> 조선대학교 (중앙도서관) 복본조사 추가.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -283,6 +283,17 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
전북대입력(text);
|
||||
}
|
||||
|
||||
// 조선대학교 중앙도서관
|
||||
else if (URL.IndexOf("library.chosun") > -1)
|
||||
{
|
||||
if (URL.IndexOf("result") > -1)
|
||||
BookCount = 조대도서관결과();
|
||||
|
||||
조대도서관입력(text);
|
||||
}
|
||||
|
||||
|
||||
int tmp = RowCount - 1;
|
||||
if (tmp < 0) tmp = 0;
|
||||
|
||||
@@ -511,10 +522,44 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
#endregion
|
||||
|
||||
#region 조선대학교 중앙도서관
|
||||
|
||||
void 조대도서관입력(string text)
|
||||
{
|
||||
foreach (HtmlElement input in webBrowser1.Document.GetElementsByTagName("input"))
|
||||
{
|
||||
if (input.GetAttribute("className").IndexOf("searchInput") > -1)
|
||||
input.SetAttribute("value", text);
|
||||
|
||||
if (input.GetAttribute("className").IndexOf("searchBtn") > -1)
|
||||
{
|
||||
input.InvokeMember("click");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
string 조대도서관결과()
|
||||
{
|
||||
string result = "";
|
||||
|
||||
HtmlElementCollection hecTd = webBrowser1.Document.GetElementsByTagName("span");
|
||||
foreach (HtmlElement heTd in hecTd)
|
||||
{
|
||||
if (heTd.GetAttribute("className").IndexOf("catalogsCnt") > -1)
|
||||
{
|
||||
result = heTd.InnerText;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region 전남 소재 도서관
|
||||
|
||||
|
||||
#region 전남 교육청
|
||||
bool isJNLClick = false;
|
||||
string 전남교육청입력(string text)
|
||||
@@ -898,7 +943,21 @@ namespace WindowsFormsApp1.Mac
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
if (result != "0")
|
||||
break;
|
||||
}
|
||||
else if (div.GetAttribute("className").IndexOf("articles") > -1)
|
||||
{
|
||||
foreach (HtmlElement span in div.GetElementsByTagName("span"))
|
||||
{
|
||||
if (span.GetAttribute("className").IndexOf("moreCount") > -1)
|
||||
{
|
||||
result = span.InnerText;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (result != "0")
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1086,7 +1145,6 @@ namespace WindowsFormsApp1.Mac
|
||||
// 구두점 제거 ,.;:/
|
||||
// Target = Target.Replace(",", "").Replace(".", "").Replace(";", "").Replace(":", "");
|
||||
|
||||
|
||||
string res = Regex.Replace(Target, @"[^a-zA-Z0-9가-힣_\s()]", "", RegexOptions.Singleline);
|
||||
|
||||
dataGridView1.Rows[a].Cells["book_name"].Value = res.Trim();
|
||||
|
||||
Reference in New Issue
Block a user