`
luodongju325
  • 浏览: 2937 次
  • 性别: Icon_minigender_2
  • 来自: 大连
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

xoops/Modules : 'WRAPS' html page wrapping for xoops

阅读更多
Description:
Wraps is a module created by GIJOE for wrapping HTML pages into xoops contents.

It is easy to install and allows unlimited HTML content to be added without individual page input from admin. Complete websites may be imported into xoops and they will display within the xoops contents section. In addition all pages are xoops indexed, even within recursive folders. Also page URLs are displayed without query strings. The module is duplicateable. If you are new to xoops and have an existing HTML site, this is an excellent solution for adding your content. Please visit the authors website and see my review for further details.

NOTE: Please refer to http://www.peak.ne.jp/xoops/ for all support and comment.
DOWNLOAD here http://www.peak.ne.jp/xoops/
EXAMPLE here http://houseofstrauss.co.uk/modules/faqs/index.php/index.html

REVIEW
The xoops CMS has a great range of content modules, but what if you already have a website and really want to integrate it into the xoops framework?

GIJOE has developed just the module for you. 'Wraps' will let you import your existing HTML website into xoops with the minimum of fuss and preparation. You don't have to 'input' individual pages or link images and objects in xoops admin. Providing your html pages work by themselves, you will be able to simply add the whole fileset to the wraps module via ftp and it will be displayed within your xoops contents. The imported website pages will of course lack some of the features of xoops, such as comments, votes and page specific permissions.

The module has recently been updated to index recursively all files. This means you can create directories and subdirectories within your wrapped pages and they will all be added to the database and indexed by xoops search function.

In addition, all pages are displayed with search engine friendly URL's so every search engine will be able to index your wrapped pages, as ther are no query strings.

I recently used the wraps module to import a small website with html pages javascript menus, plus images and CSS. It works perfectly and appears seemlessly in the xoops framework. You may need to merge your stylesheets carefully however. The stylesheet for the imported website was simple, but some of the styles appeared to change the theme colours on my main website when I viewed pages. The xoops stylesheet in my current theme also impacted on the imported pages. This was more preferable and seemed to make the pages more a part of the website. Merging stylesheets requires some adjustment in the preparation stage.

Let's look at a typical website import setup and detail some of the key requirements to make this work correctly.

Installing the wraps module. This is fairly straight-forward, although I found the install instructions a little confusing. Wraps is made of 2 sections; 1- The module directory which is uploaded in the usual way and 2- the xoops_trust_path directory which needs to be installed in your xoops root. The readme file tells you exactly what to do, which entails creating an extra directory within your webspace root called xoops_trust_path. You then have to create sub-dirs within it etc, all of which sounds a bit complicated in the readme file.

When it comes down to it, the wraps archive has already done all this directory creation for you, so all you really need to do is change the final xoops_trust_path/wraps/"wraps" directory to the name of the website you want to import. You then need to upload a second directory to the /modules/ directory as per normal module installation. However, the name of this diretory must match exactly the name of the final "wraps" directory, the one you changed in xoops_trust_path/../. This is the important part to make the import work correctly. Don't be concerned about the other modules directory also appearing in the xoops_trust_path directory, it's part of the way it works!

So, you end up with a /modules/mynamedirectory/ and a xoops_trust_path/wraps/mynamedirectory. Place an index.html file in this folder and add an include line to your mainfile.php file as instructed. Now install the module in xoops admin and click the 'update index' link. If all has gone ok, you should see 'one file indexed' and now be able to go to the user side and see your named directory in the main menu. Click this link and your index.html file should display perfectly in the xoops main contents.

This little test is all worthwhile, to make sure the wraps module is working correctly. If it is, you can now begin to prepare your website, or pages for importing into the module.

There are two important caveats to the installation process, I had success with 2.0.13 2 and 2.0.14. However 2.0.15 did not support this module in my tests. The other point is that you MUST NOT use the xoops default template set. For more details about this see this post here http://www.peak.ne.jp/xoops/md/news/index.php?page=article&storyid=354 .I simply cloned the default set and called it 'wraps' then went back to change my template option in preferences.

I imported a small website with just over 200 files, complete with images, javascript and css, but wraps coped with this perfectly. The only critera is that the imported website navigates correctly by itself and that all objects are linked to correctly before importing.

The main issue is that you may have links that are hard coded to your old domain name. These need to be changed or the website will not work. I used a trusted freeware 'search and replace program' called BK ReplaceEm. This program will easily search and replace any string in a complete fileset, including recursive folders and make an exact copy of the fileset with replaced strings. You can set up a whole list of strings to be replaced if you need to and also replace a range of strings between known start and end points such as <!-- and --> The program also handles regular expressions if required.

I simply searched for my domain name string and replaced it with nothing. I ended up with relative URLS which worked fine for this application. The site needs to be tested for navigation and linked object integrity but once this is certified you're ready to upload and go. The whole fileset can be uploaded to the xoops_trust_path/wraps/mynameddirectory and providing the main index.html is in the root of the directory and connected to the rest of the fileset the site will now work. All navigation will be correct and operational within the wrapped pages. You can call URL's deep withing the wrapped pages and they will be displayed withing the xoops content framework. This means that you could also setup a module like 'multimenu' to make a side panel of links to open sections within your wrapped website.

I also had a problem with a very odd message appearing instead of some of my wrapped pages (dont access this site too continuously) After enquiring on GIJOE's forums, I discovered that an old version of Protector module may cause this message. I upgraded and this was rectified, so make sure your version of protector is up to date.

Wraps is a great module and fills a much needed gap between xoops dedicated content and displaying HTML content from other websites that you may already have. Many users come to xoops with existing websites and want to import these permanantly or as a temporary measure. Now you can do this with minimum of preparation. You may need to make some other adjustmenst to the style sheet of your wrapped site in order to keep things like link colours, body text and other formatting consistent, but this is a small issue. The wrapped website can be linked to the xoops permissions of course, but be aware that permission will be global for the whole of the wrapped pages. URLS look good also, with URL rewrite in .htaccess included in the module, you will have some nice addresses for all search engines, without any query strings to worry about.

Wraps can serve many applications. If you need to transfer your existing website to xoops as an import through wraps, this is now made very easy and quick. You could privately and slowly copy this content to a dedicated xoops module with all the xoops features and when complete, swap this for the wraps module. Wraps gives you immeadiate content allowing time to build in the background. If you're not concerened about xoops features like comments, page counts, author, dates etc. then the wraps module will provide a very search engine and user friendly content solution. The module is also duplicateable, allowing any number of independant wrapped sites, or pages. In addition, there is a feature to update their indexes simultaneously.

Many xoopsers have asked how to import websites and I think wraps provides en excellent solution. We saw an alternative some while back called Auth(e) but it was never really developed to a usable standard. Wraps works perfectly, is easy to install and very powerful. My import of several files worked perfectly.

Thanks GIJOE Again your inovative features make xoops a top solution and fun to use.

Features:
  • Page wraps
  • clean URLs
  • xoops compatible
  • easy install

System Requirements:
  • xoops 2.1.3.2 >>
分享到:
评论

相关推荐

    xoops建立门户网站

    如果Appserv使用的不是默认端口80,记得在URL中加入实际的端口号,例如`http://localhost:8081/xoops/htdocs/install/index.php`。 在XOOPS的安装过程中,你需要选择中文语言(schinese)并按照提示逐步操作。这...

    Xoops Cube Project:现在我们移至https://github.com/xoopscube-开源

    XOOPS Cube是一个开放源代码Web应用程序平台,使网站管理员可以轻松创建动态且内容丰富的网站。 XOOPS多维数据集项目由志愿者组织友好地管理,开发和支持,该志愿者团队具有多学科的重点,可提供各种不同的观点和...

    XOOPS系统详细介绍

    ### XOOPS系统详细介绍 #### 一、XOOPS概述 XOOPS是一个开源的内容管理系统(Content Management System, CMS),主要用于构建动态交互式的社区、企业门户、内部网和博客等。它支持多语言环境,并且拥有丰富的插件和...

    Xoops 开发学习笔记

    根据给定的信息,我们可以整理出一系列关于Xoops平台上的模块开发相关的知识点: ### Xoops 开发学习笔记 #### 一、Xoops基础知识介绍 Xoops是一个开源的内容管理系统(CMS),适用于构建各种类型的网站,包括...

    XOOPS模块的开发设计教程文档

    将开发好的模块文件夹放到`xoops/modules`目录下。在XOOPS后台的模块管理页面,未安装的模块会出现在列表底部。点击安装按钮,按照提示完成安装。 2. **测试** 安装完成后,可以通过模块管理菜单检查模块是否成功...

    xoops

    XOOPS的设计理念是模块化和可扩展性,使得用户可以根据需求安装和配置不同的模块来满足特定功能。 XOOPS的核心特性包括: 1. **模块化设计**:XOOPS允许用户通过安装不同的模块来扩展其功能,如新闻发布、论坛、...

    XOOPS v2.0.2 For Unix 简体中文标准版(海微)

    海微在发布时已经对XOOPS的各个目录设置了适当的权限,如`/xoops/upload`用于用户上传文件,可能需要读写权限;`/xoops/data`存储数据库备份和配置文件,需要保护其安全,只允许特定用户访问。 3. **PHP与MySQL支持...

    XOOPS 2.0.14简体中文版

    **XOOPS 2.0.14简体中文版** XOOPS 是一款流行的开源内容管理系统(CMS),它基于PHP编程语言,并依赖MySQL数据库来存储和管理网站内容。XOOPS 2.0.14是这个系统的一个重要版本,针对简体中文用户进行了本地化处理...

    Modules:旧的 Txmod Xoops 模块

    而“Txmod”是Xoops系统中的一个模块开发框架,它允许开发者创建自定义功能来扩展Xoops的核心功能。本文将深入探讨旧版Txmod Xoops模块的相关知识点。 首先,我们要理解什么是模块。在Xoops中,模块是系统功能的...

    xoops模块开发的例子

    xoops模块开发是一个面向Web内容管理系统的程序设计过程,主要用于扩展XOOPS的功能。XOOPS是一个开源的PHP框架,用于构建动态的社区网站。在这个详细开发例子中,我们将深入探讨如何构建一个xoops模块,理解其架构,...

    使用XOOPS应用程序接口

    ### 使用XOOPS应用程序接口详解 #### 一、概述 XOOPS是一款开源的内容管理系统(Content Management System, CMS),被广泛应用于构建社区网站、新闻站点、论坛等各类网站平台。其强大的扩展性和灵活性使得用户能够...

    Xoops表单结构模块开发

    ### XOOPS表单结构模块开发知识点详解 #### 一、XOOPS简介与表单模块概念 XOOPS是一款开源的内容管理系统(CMS),主要用于构建动态的社区网站。它以其高度可扩展性和灵活性著称,支持模块化开发,使得开发者可以...

    XOOPS v2.3.3 简体中文版.rar

    软件介绍 XOOPS 2.3 的目的是融合 XOOPS 2.0 和 XOOPS 2.2 两个系列,为我们下一代的 XOOPS 3.0 打好基础。 随着 XOOPS 2.3 的发布,用户将会可以体验 XOOPS 3.0 中的一些新特性,开发者将会更好的理解XOOPS的开发...

    xoops2.30版

    xoops是一个开源的内容管理系统(CMS),它允许用户轻松创建和管理网站。"xoops2.30版"是这个系统的最新版本,提供了许多改进和增强的功能,旨在提供更好的用户体验和更强大的管理工具。 首先,我们来看看xoops的...

    xoops 2.33 英文版

    "xoops 2.3.3 英文版"是该系统的一个特定版本,专为那些希望使用原始英文界面和文档的用户设计。这个版本可能不包含中文语言包,因此对于中文用户来说可能需要一定的英语基础来操作和管理网站。 xoops的设计目标是...

Global site tag (gtag.js) - Google Analytics