在Application Engine中使用PeopleCode的Zip文件(Zip Files using PeopleCode in Application Engine)
我有一个要求在父文件夹中压缩多个文件夹并在App Engine输出中显示该文件的要求。 Unix文件服务器中的文件夹结构 - 父文件夹 - Folder1(包含文件) - Folder2(包含文件)
如何使用AE中的PeopleCode压缩文件夹并将其存储在父文件夹中(最终文件夹结构如下:父文件夹-Folder1 -Folder2 -ParentFolder.Zip。
注意:进程在Unix服务器上运行。
I have a requirment to zip multiple folders inside parent folder and display the file in App Engine ouput. The folder structure in Unix File Server - Parent Folder - Folder1 (contains files) - Folder2 (contains files)
How to zip the folders and store it in parent folder using PeopleCode in AE (Final folder structure will be as follows Parent Folder -Folder1 -Folder2 -ParentFolder.Zip.
Note: Process runs on Unix Server.
原文:https://stackoverflow.com/questions/23853536
最满意答案
好吧,我会把这个任务分成几个步骤:
- 将内容(html页面)分组为逻辑组,也许某些主题应该有不同的作者
- 分析html,查找包装内容等存储内容的位置
- 自定义编码部分,scrape html与一些脚本,也许一个PHP进入wordpress xml导入文件我建议将这么大的数量分成几个xml文件。
- 通过wordpress导入工具导入简单的WordPress导入结构XML示例
或者您可以尝试这样的插件: HTML导入2
Well I would divide this task into couple steps:
- Group content(html pages) into logic groups, maybe some of theme should have different authors
- Analyze html, find wrappers, etc, where content is stored
- custom coding part, scrape html with some scripts, maybe a php one into wordpress xml import file(s) i suggest to divide such huge amount into couple xml files.
- import via wordpress import tool Simple WordPress Import Structure XML Example
Or you can try such plugin: HTML Import 2
相关问答
更多-
自定义Wordpress Divi主题functions.php联系表单(Customize the Wordpress Divi Theme functions.php contact form)[2023-09-24]
Divi使用自己的联系表格插件: http : //www.elegantthemes.com/gallery/divi/documentation/contact/ 看看插件目录,你可能会找到你想要的东西。 应该有一个地方使用wp_mail函数https://codex.wordpress.org/Function_Reference/wp_mail或php的邮件功能。 只需将标题中的第二个电子邮件地址添加为CC即可。 Divi use its own contact form plugin : http ... -
使用Divi主题刮取2000+ html网站并导入WP(Scrape 2000+ html site and import into WP using a Divi theme)[2023-05-20]
好吧,我会把这个任务分成几个步骤: 将内容(html页面)分组为逻辑组,也许某些主题应该有不同的作者 分析html,查找包装内容等存储内容的位置 自定义编码部分,scrape html与一些脚本,也许一个PHP进入wordpress xml导入文件我建议将这么大的数量分成几个xml文件。 通过wordpress导入工具导入简单的WordPress导入结构XML示例 或者您可以尝试这样的插件: HTML导入2 Well I would divide this task into couple steps: G ... -
如果您希望保留字体大小和宽度并防止长框文字溢出,则您要查找的属性是word-wrap: break-word 。 If you'd like to keep the font-size and width and prevent long words from overflowing a box, the property you're looking for is word-wrap: break-word.
-
使用带有Divi WP主题的Thickbox无法识别的表达式(Unrecognized expression using Thickbox with Divi WP Theme)[2022-03-29]
仅仅是因为 #TB_inline?width=640&height=600&inlineId=modal-window-id $('#TB_inline?width=640&height=600&inlineId=modal-window-id') 不是有效的jQuery选择器。 Simply because #TB_inline?width=640&height=600&inlineId=modal-window-id $('#TB_inline?width=640&height=600&inlineI ... -
wordpress / divi主题 - 滑块内容显示大小不能正常工作(wordpress / divi Theme - slider content display size not working well)[2023-05-26]
您可以通过粘贴主题选项面板来尝试以下代码吗? .et_pb_slider_fullwidth_off .et_pb_container { width: auto !important; display:block; } .et_pb_slides .et_pb_slider_container_inner{ display:block; } 希望这对你有用。 Can you please try this following code by pasting in your theme ... -
上载已完成的WP站点而不重做设计/主题部分(Uploading a completed WP site without redoing the design/theme part)[2024-03-01]
我建议使用WP Migrate DB插件。 如果您可以访问新站点/位置(命令行,phpMyAdmin,SequelPro等)上的MySQL服务器,则可以整体导入数据库。 作为简要概述,这个插件为您做了两件事。 首先,它是一个MySQL转储(抓取整个数据库,包括任何非标准WordPress表的附加表)。 它还会将您的内容中可能序列化的所有网址从旧网站替换为新网站。 (如果您打算更改域名,这是一个非常重要的部分)。 玩的开心! I recommend using the WP Migrate DB plugin ... -
翻译WP主题(Translating WP Theme)[2023-09-16]
这个插件可以定义为您提供帮助: http ://wordpress.org/plugins/codestyling-localization/ 当然,如果模板没有国际化准备,你可能需要在主题文件夹中查找字符串并用__('STRING')替换每个STRING 另见http://codex.wordpress.org/I18n_for_WordPress_Developers This plugin can definetely help you : http://wordpress.org/plugins/c ... -
问题: 您试图更改>符号的字体大小,其值为9px。 #top-menu .menu-item-has-children > a:first-child::after { content: ">" font-size: 9px; /* This changes the size of the symbol */ } 解: 您需要在下面的规则中更改font-size属性的值。 #top-menu li, .fullwidth-menu li { font-size: 25px; /* Change ...
-
这应该做得很好..只需使用正确的page_id @media all and (max-width: 479px) { .et_pb_sidebar_0 { display:none !important;} } This should do good .. just use it with proper page_id @media all and (max-width: 479px) { .et_pb_sidebar_0 { display:none ...
-
使用javascript搜索2000+ xml记录会锁定浏览器(Searching 2000+ xml records with javascript locks up browser)[2023-01-07]
您可以执行“增量”搜索,将其与计时器分开。 这样您的浏览器就不会冻结。 I was only able to solve this by resetting a timer after each keypress that would delay the search after a certain period of time, say 200-300ms. Once the user stopped typing for a moment, the search would execute.