设为首页收藏本站
鲜花(1238) 鸡蛋(1)
发表于 2019-9-1 19:08 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?注册

x

获取文字及音乐模版源代码的方法

网页浏览器基本上有两种,一种是IE内核(如:微软浏览器),一种是Chrome内核(如谷歌浏览器、360浏览器)

IE内核浏览器模版源代码的获取方法:

IE浏览器菜单栏→查看→源(C),也可以在IE窗口中,单击右键→查看源文件,这样就可打开网页的源文件,查看代码。

获取原代码中的模版代码方法: 先以那边老师的这篇【同题彼岸花】彼岸花、彼岸树(http://www.wyc520.cn/forum.php?mod=viewthread&tid=389155&extra=page%3D1&_dsign=6e5f4f35)为例,

原文件打开以后,如何快速定位到我们想要的代码段,方法是搜索特征文字,我常用的是搜索时间,如:发表于 2019-8-27 17:58,复制发表于 2019-8-27 17:58,打开的源文件中,点编辑→查找,在查找框中,

粘贴发表于 2019-8-27 17:58,点击下一个就定位到这里了。如下图:



再以尹初音老师的这篇【中秋寄情】圆之眷恋 • 明月照清心 (http://www.wyc520.cn/forum.php?m ... amp;_dsign=861bd719)为例,如下图:



Chrome内核模版原代码的获取方法:

在网页窗口中,单击右键→查看源文件,这样就可打开网页的源文件,查看代码。然后点击右上角打开菜单→工具→页面查找,搜索发表时间即可,获取模版代码部分同上。




评分

参与人数 1草币 +500 +50 +50 鲜花 +10 收起 理由
空心树 + 500 + 50 + 50 + 10

查看全部评分

鲜花鸡蛋

蝶洛  在2019-9-3 16:08  送朵鲜花  并说:我非常同意你的观点,送朵鲜花鼓励一下
陌上小红花  在2019-9-2 16:28  送朵鲜花  并说:我非常同意你的观点,送朵鲜花鼓励一下
那边  在2019-9-1 22:05  送朵鲜花  并说:我非常同意你的观点,送朵鲜花鼓励一下
空心树  在2019-9-1 21:55  送朵鲜花  并说:我非常同意你的观点,送朵鲜花鼓励一下
空心树  在2019-9-1 21:55  送朵鲜花  并说:我非常同意你的观点,送朵鲜花鼓励一下
鲜花(1238) 鸡蛋(1)
 楼主| 发表于 2019-9-1 19:09 | 显示全部楼层
  1. <br>
  2. <div align="center">
  3. <table style="POSITION: relative; WIDTH: 633px; border=" 0"="" cellspacing="0" cellpadding="0" id="table1">
  4. <!-- MSTableType="nolayout" -->
  5. <tbody><tr>
  6. <td background="http://img.wyc520.cn/data/attachment/forum/201908/27/174824n14o000l2pddd4wz.jpg.thumb.jpg" height="55"> </td>
  7. </tr>
  8. <tr>
  9. <td background="http://img.wyc520.cn/data/attachment/forum/201908/27/174824k0szrisusvphe07u.jpg.thumb.jpg" height="21">
  10. <div align="left">
  11. <table style="POSITION: relative; WIDTH: 500px; border=" 0"="" width="500" cellspacing="0" cellpadding="0" id="table2">
  12. <tbody><tr>
  13. <td></td>
  14. </tr>
  15. </tbody></table>
  16. <p>

  17. <br>

  18. <p align="center"> <img src="http://img.wyc520.cn/data/attachment/forum/201908/25/225528xwl3a4aakz222gbg.jpg.thumb.jpg"  width="480" />

  19. </div>
  20. <div class="tip_horn"></div>
  21. </div>

  22. </ignore_js_op>
  23. </div><div> </div><div><b><br></b></div><div>
  24.         <center><font color="#584F40"><b>彼岸花,彼岸树</b></font></center></div>
  25. <div><font color="#584F40"></font></div><div><div><br>
  26.         <p>
  27.         <center><font face="宋体" color="#584F40" size="2">文 : 那边</font></center></p></div><div><br><br>

  28. <p style= "font-size:12px;line-height: 30px; letter-spacing: 2px; padding-right: 0.6cm; padding-left: 3.6cm"  >
  29.                 <font face="宋体" color="#584F40"><strong>彼岸花</strong> <br><br>
  30. 那年的廊桥见过她<br>
  31. 残阳不小心泄露的心事<br>
  32. 涂抹在她胸前。手心红痣,肋下蝶翅<br>
  33. 一副欲飞的样子 <br><br>
  34. 那年的雨水记下过她<br>
  35. 错开的车灯,凝固的快门<br>
  36. 夜色淹下来时刺眼的红<br>
  37. 从此黑白定格,花叶永分 <br><br>
  38. 那年的火车遇见过她<br>
  39. 于铁轨一隅,泣出黄昏的血色<br>
  40. 之后的日子,她栽种等待,栽种思念<br>
  41. 终于有一天,把自己栽种成故事的背景 <br><br>
  42. 那年的海水拥抱过她<br>
  43. 它们呼啸而来,呼啸而去<br>
  44. 海上花的旋律响起,海水在胸口弥漫<br>
  45. 花朵在空中荡漾<br>
  46. 她掠过的人间,从此风平浪止  <br><br>
  47. <strong>彼岸树</strong> <br><br>
  48. 一棵树,装帧在相框里<br>
  49. “有一天我不在了,树在”<br>
  50. 天蓝,云淡,又是秋天<br>
  51. 骄傲的树冠,曾令你深信不疑 <br><br>
  52. 它留在远山,留在昨天<br>
  53. 像是存活了一万年<br>
  54. 你守着它的日出日落<br>
  55. 守着它的每一丝颤动<br>
  56. 每一缕吐纳<br>
  57. 直到蒿草遍地<br>
  58. 直到夜,深深深深压下来
  59. </font></p></div></div><div><br></div>
  60. <p align="center"> <img src="http://img.wyc520.cn/data/attachment/forum/201908/28/095357iknf7orrbyxkdubl.jpg.thumb.jpg"  width="480" />
  61. </tr>
  62. <tr>
  63. <td background="http://img.wyc520.cn/data/attachment/forum/201908/27/174825g0l0ommbnnynpnnz.jpg.thumb.jpg" height="55"> </td>
  64. </tr>
  65. </tbody></table>
  66. </div><br><br>
复制代码
鲜花(1238) 鸡蛋(1)
 楼主| 发表于 2019-9-1 19:10 | 显示全部楼层
  1. <br><br><div align="center"><style>
  2. ._editor{width:700px;}
  3. </style>
  4. <br><br><section class="_editor" style="font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; text-align: justify; white-space: normal;">
  5.     <section style="">
  6.         <section style="text-align: center; position: static;">
  7.             <section data-width="90%" style="display: inline-block; width: 90%; vertical-align: top; box-shadow: rgb(215, 217, 218) 12px 12px 0px; background-color: rgba(250, 250, 250, 0.26); border-style: solid; border-width: 5px; border-radius: 0px; border-color: rgb(119,136,153);">
  8.                 <section style="position: static;">
  9.                     <section data-width="100%" style="display: inline-block; width: 100%; vertical-align: top;">
  10.                         <section style="line-height: 2; letter-spacing: 1.6px;">
  11.                             <p style="color: rgb(51, 51, 51); font-size: 14px;">
  12.                                 <br>
  13. <br>
  14. <br>
  15. </p><div style="text-align: center;">
  16. <p style="color: rgb(51, 51, 51); font-size: 14px;"><img src="http://img.wyc520.cn/data/attachment/forum/201909/01/135301p37lb5x93nb8m53m.jpg.thumb.jpg" <="" p="">
  17.                             </p><section style="margin-right: 20px; margin-left: 50px; text-align: left; line-height: 1.7em;">
  18.                                 <span style="font-family: 宋体, SimSun;">
  19. <br><br><br>

  20. <font color="#696969"><strong style=""><font face="微软雅黑" style="" size="3">‖  明月照我心</font></strong><br><br><br>

  21. <font style="" size="2">省略故乡,怀念和遥想<br>
  22. 之于中秋,并无特别的情感需要抒怀<br>
  23. 户口本上的籍贯也只是父辈们小时候生活的地方<br>
  24. 一直踩在脚下的,才是生我养我的土地,不曾挪步<br>
  25. <br>
  26. 月饼,亦无兴趣<br>
  27. 甜的,腻人;咸辣的,怪诞<br>
  28. 冰皮的,冰淇淋馅的,哗众取宠<br>
  29. 所以,八月十五,于我不需要仪式感</font></font></span></section><section style="margin-right: 20px; margin-left: 50px; text-align: left; line-height: 1.7em;"><span style="font-family: 宋体, SimSun;"><font style=""><font color="#696969"><font size="2" style=""><br>

  30. 但不拒绝桂花香<br>
  31. 不拒绝关心的话语,和爱我的怀抱<br>
  32. 并愿意如出一辙地返还我爱着的你,你们<br>
  33. 我确信,今我所遇,皆是幸与福分的完满抵达</font><br></font>
  34. </font><br>
  35. <p align="left"> </p><br>
  36.         <div align="left">
  37.         <embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://yh.guqu.net/chaxin/flash/guqu.swf?url=https://music.163.com/song/media/outer/url?id=1375465675.mp3&amp;bgcolor=B0C4DE&amp;color=B0C4DE&amp;user=&amp;&amp;" width="70" height="20" type="application/x-shockwave-flash" allowscriptaccess="sameDomain" wmode="transparent"><br><br><p></p><div style="font-size: 12px; letter-spacing: 1px; padding-right: 0.3cm;"><div align="right" style=""><font color="#333333"><img id="aimg_C8AJ0" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" width="150" height="150" file="http://img.wyc520.cn/data/attachment/forum/201909/01/143102kzdgqvgu23qtz0w3.jpg.thumb.jpg" border="0" alt=""></font>
  38. <br>
  39. <br>
  40. <div style="letter-spacing: 1px; padding-right: 0.48cm;"><div align="right" style="">
  41. <font color="#696969"><strong style="">尹初音</strong><span style="font-family: 宋体; font-size: 14pt; text-align: left;">&#9834;</span><strong style="text-align: left;">&nbsp;2019.09.01</strong></font></div><div align="right" style="color: rgb(51, 51, 51);"><br>

  42. </div></div></div></div><br><table style="POSITION: relative; WIDTH: 500px; border=" 0"="" width="500" cellspacing="0" cellpadding="0" id="table2">
  43.          


  44. </table></div></span></section></div></section></section></section></section></section></section></section></div>
  45. <br>
  46. <br>
  47. <br>
复制代码
鲜花(24) 鸡蛋(0)
发表于 2019-9-1 20:31 | 显示全部楼层
这个好,谢谢楼主
鲜花(24) 鸡蛋(0)
发表于 2019-9-1 20:34 | 显示全部楼层
很漂亮的两款,再谢!
鲜花(3415) 鸡蛋(1)
发表于 2019-9-1 20:51 | 显示全部楼层
我也是这么抱代码的,
最初找自己的帖子测试
查看源文件代码的起始和终止处在哪
慢慢就看源代码就能知道截取哪一段了
但是应该会有多余代码
不过不影响发帖就不管它了
鲜花(3415) 鸡蛋(1)
发表于 2019-9-1 20:52 | 显示全部楼层
我也是这么抱代码的,
最初找自己的帖子测试
查看源文件代码的起始和终止处在哪
慢慢就看源代码就能知道截取哪一段了
但是应该会有多余代码
不过不影响发帖就不管它了
鲜花(5162) 鸡蛋(2)
发表于 2019-9-1 20:54 | 显示全部楼层
看着有点晕,好好学习下,谢谢楼主分享!
鲜花(3693) 鸡蛋(581)
发表于 2019-9-1 21:43 | 显示全部楼层
谢谢分享。做个记号,回头研究下
鲜花(6688) 鸡蛋(23)
发表于 2019-9-1 21:57 | 显示全部楼层
谢谢听雨,你总是那么有心,给我们带来福利~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则


GMT+8, 2024-4-24 10:25 , Processed in 0.041763 second(s), 30 queries , Gzip On, Redis On.


快速回复 返回顶部 返回列表