drupal与html转换,HTML Export

Simple HTML Dom module/library be installed to help with the parsing of the html being created.

Drupal 6.x-2.x

Special note: The Base URL ($base_url) MUST be set in your site's settings.php file in order to use this module.

Features

API hooks able to add / define / prune / alter the paths, assets, and html data used in export

Supports ANY drupal path, not just nodes

Ability to remove DOM elements in bulk during page export (follows convention div[id=admin-toolbar] to remove admin module output)

New publishing metric to make creation cleaner (folder stacking instead of flat nodes)

Batch API to avoid timeouts and be able to handle massive sites

Selection criteria hooked in through API

Selection criteria hooked up to views queries

Ability to prune assets from exported package via hooks / simpledom query

Intelligent selection of assets (css/js/images/etc)

Support for export of content per type

OG helper module to publish just within scope of a group

Anonymous page exporting

Ability to define in the UI additional paths to copy

Flexible Packaging routine that has direct access or tar download provided by default (hook to build others available)

Support for `` page path which generates an initial index.html for the package

Integration with Masquerade to export html based on how another user views content. This is experimental functionality and will *never* work correctly on complex sites.

Future Roadmap / Wish list

Provisioning to FTP/S3/other folders on the file system (possibly via Backup and Migrate)

Deep scan of .css files to specifically target the images/css/files needed

Drupal 7

There is an initial direct port of the 6.x-2.x branch. Actively seeking a comaintainer to take on helping to port / fix issues with the port. I have verified that it is at least stable enough to try though it doesn't build out all the file assets and DOM removal doesn't seem to be working. Paths all render though.

Drupal 5.x-1.x / 6.x-1.x / 7.x-1.x

This is now legacy as this branch will not receive 2.x upgrades.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值