摘要
针对PC端设计的网站在移动设备端直接显示时界面极不友好,而且有许多内容阅读者根本不感兴趣。针对这种情况,本文实现了一种基于PC端网站的移动阅读解决方案。首先通过c URL函数获取HTTP和HTTPS页面的HTML内容,然后从中提取读者感兴趣的数据并在移动端进行内容重构。在普通话水平测试成绩查询系统上所做的实验表明:内容重构之后移动端的显示效果远胜于移动端浏览器直接打开网站的显示效果,而且显示内容更精准。
When the websites designed for PC are displayed directly on the mobile devices,the interfaces are very unfriendly and a lot of contents are uninteresting for readers at all.In view of this problem,the paper proposes a mobile reading solution based on the PC website.The data,which readers are interested in,are extracted from the HTTP or HTTPS HTML contents of the page fetched by the cURL function and reconstructed in the mobile terminal.The experimental results from the PUTONGHUA SHUIPING CESHI(PSC)score query system show that the display effect after the reconstruction of the contents is far better than that directly through browsers on mobile devices,and the display contents are more accurate.
作者
薛艳锋
高志娥
高文莲
XUE Yanfeng;GAO Zhi-e;GAO Wenlian(Dept of Computer Science and Technology,Lvliang University,Lvliang 033000,China)
出处
《软件工程》
2018年第2期27-29,共3页
Software Engineering
基金
吕梁学院教学改革项目(JYZD201706)
山西省教育厅教学改革项目(J2016115)