-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Digital Publishing Tools for WordPress is a plugin that allows anyone to create HTML articles for Digital Publishing Solution directly from WordPress. For more information please visit: http://studiomercury.github.io/digital-publishing-tools-for-wordpress/
2.1 Upcoming Release
- User Role support
- Bulk publishing
- When creating a new article allow the use of underlines
TEMPLATE CHANGES
-
If you are using the default template and you haven't moved the
publish-templates
folder into the theme folder, you don't have to do anything. -
If you're using the default template and have moved the
publish-templates
folder into the theme folder, you need to copy the newpublish-templates
folder into your current theme. -
If you've created your own, please review the information below:
All relative links will be turned into full URLs: for example: if you create a link
/image/1.jpg
the packager will turn this into:http://yourdomain.com/image/1.jpg
. Relative links are no longer relative to the .article file. This is part of a bigger move to allow any theme / template to be packaged. That will come in a release soon.There's a new way to add files to the .article using the
dpsfa_bundle_article
filter:Automatic: Specify full url to file (array of images) Specifying the full url will create the necessary folder scructure in the article and download the external file Folder structure for external resources: ARTICLE > sanitized hostname > path > file Example: array('http://www.domain.com/wp-content/themes/theme/file.jpg') will put that file in the article as: domaincom/wp-content/themes/theme/file.jpg
Manual: Specify the full paths array( "file path relative in article" => "filepath relative to server (or url)" ) You can have control over where the file is placed in the article and where to pull it from the server Example: array( array('slideshow/image/file.jpg' => 'www/wp-content/themes/theme/file.jpg') ) will put that file in the article as: domaincom/wp-content/themes/theme/file.jpg
- Resolved article folio uploads with 0bytes (missing files).
- Resolved an issue if template files went missing or were changed
- publish-templates/article.php - now has a file path for files relative to the plugin folder and the theme folder. If you're upgrading to 2.0.6 please make sure to re-copy the publish-templates folder from the plugin folder to the active theme folder you are working in.
- Resolved error in checking for serialized meta values
- Resolved error in the article thumbnail when importing them from existing posts
- Internal keywords now sync
- Fixed error in getting settings / refreshing settings
- Added error logging for php errors that show up
- Resolved error in returning and saving settings using AJAX
- Fixed a bug where a "/" was being prepended to assets during article bundle.
- Fixed an error when saving in settings
- Updated the example article.php to expose a function to bundle additional files for an article.
- Cleaned up sample templates
- NEW Access to the new DPS 2015 API's and services
- Article Creation
- Old Release with access to the original version of DPS, this is currently deprecated.