=====* UniMarc [0.0148] 버전 업데이트 내용 *=====

** ERP 작업 전면 중단 (마크우선) **

1. 마크 정리
ㄴ> 검색태그 수정 및 추가 기능 추가.
 ㄴ> 태그가 존재하나, 식별기호가 존재하지 않는 경우를 아직 구현하지 못함.

2. 복본 조사
ㄴ> 전북대학교 복본조사 추가.
ㄴ> 조선대학교 (중앙도서관) 복본조사 추가.
This commit is contained in:
SeungHo Yang
2022-05-31 08:59:42 +09:00
parent d336d11536
commit 789300b67a
9 changed files with 61 additions and 3 deletions

Binary file not shown.

View File

@@ -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();