中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-13 22:59
47,812 topics / 349,916 posts / today 0 new / 48,268 members
论坛回收站 » Please provide more details about the specific script you need, such as what functionality it should have, related context, etc. Otherwise, I can't accurately provide the corresponding script file. Please supplement the relevant information.
Printable Version  1,822 / 2
Floor1 lxh623 Posted 2009-08-15 04:46
初级用户 Posts 30 Credits 34
There are many files with the following basic format:
<link rel="stylesheet" type="text/css" href="style.css">
<DIV CLASS='un_div'><SPAN CLASS='un_name'>Li Bai
</SPAN></DIV>
<P><SPAN class=Title_41><a name="1"></a>【Person Name】</SPAN>
<DIV class=Content_42>Chinese Name: Li Bai</div>
<DIV class=Content_42>English Name: LiBai</div>
<DIV class=Content_42>Former Names: Li Taibai, Qinglian Jushi, Poet Immortal</div>
<P><SPAN class=Title_41><a name="2"></a>【Person Profile】</SPAN>

In the same file, 'un_name' has the same Chinese name, such as all being Li Bai, but different files have different names. The number of former names may be different, and others are the same. To make an MDICT format dictionary, it needs to be batch - changed to the following format through a JS script or program:

Li Taibai
See <meta http-equiv="refresh" content="0;url=entry://Li Bai">Li Bai</a></>
Qinglian Jushi
See <meta http-equiv="refresh" content="0;url=entry://Li Bai">Li Bai</a></>
Poet Immortal
See <meta http-equiv="refresh" content="0;url=entry://Li Bai">Li Bai</a></>
Li Bai
<link rel="stylesheet" type="text/css" href="style.css">
<DIV CLASS='un_div'><SPAN CLASS='un_name'>Li Bai
</SPAN></DIV>
<P><SPAN class=Title_41><a name="1"></a>【Person Name】</SPAN>
<DIV class=Content_42>Chinese Name: Li Bai</div>
<DIV class=Content_42>English Name: LiBai</div>
<DIV class=Content_42>Former Names: Li Taibai, Qinglian Jushi, Poet Immortal</div>
<P><SPAN class=Title_41><a name="2"></a>【Person Profile】</SPAN>

Earnestly request experts for help.
Floor2 yishanju Posted 2009-08-15 04:58
银牌会员 Posts 1,357 Credits 1,488
Poor child, always asking for code
Floor3 ily2013 Posted 2009-08-15 08:43
中级用户 Posts 83 Credits 247
It feels better to solve problems by oneself. That's how I am. Maybe experts can get it done in one line, but I'm happy even if I write ten lines by myself!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023