Support for “Text” content type
-
In OpenAsset, I can upload/edit 4 different types of content: Files, Projects, Employees, and Text. I don’t see any mention of the “Text” content category in the plugin documentation. Is it supported?
The page I need help with: [log in to see the link]
-
Hi There,
Good question, Text Library is quite new to OpenAsset, released in Dec 2024. It is currently not supported by our WordPress Connector, however, we are working on a plan right now.
It would be very interesting to hear how you would like to use Text Library for this. What kinds of text would you like to sync and how would you want to present it?
Thanks!
Here are my thoughts about the OA Text Library and how we would use it. Plus a deeper dive into how we would use the plugin at all.
Any text that’s not directly associated with a Project, Employee or Image asset could just be left isolated to the website and entered/edited there. But if it was text content that could be leveraged to other “channels” — About page content comes to mind — it would be convenient for it to be entered/edited as Text Library content in OpenAsset and subsequently synced to WP via the plugin.
Other leverage-able content might be found on a Contact page, Careers page (job listings), or News/Press page. I don’t yet know what if any of this content my current client would want to leverage elsewhere, except the About page which seems highly likely. Below are a few similar sites I’ve built recently (all architecture firms) that include these sorts of pages.
https://kennerlyarc.com/
https://saasf.com/
https://www.cmgsite.com/But I have trouble envisioning how the text (whether associated with Project, Employee, or Text objects) is allotted to the proper fields in WP. I haven’t worked with the plugin yet (I’ve only read the doc), so forgive me if I’m not getting it. But the way my clients typically like to work in WP is by composing pages visually. I set up the edit form for a Project page, for example, and that imposes an overall structure for the page layout. I use the plugin ACF Pro to create the fields, which affords a lot of flexibility. I configure it to allow the content editor to make choices regarding what text or image blocks to put where. My template code then renders the fields in the order they appear in the resulting post object, much of which was decided by the content editor when they created the post.
I can easily see how this would work with OpenAsset and Images: if all images are synced in bulk, they land in the media library. Then when the editor composes a Project page directly in WP, they can simply choose an image for each image field from the media library as they go. But with text blocks it’s not so clear. Editors would normally enter the text into the fields I’ve defined. If that text comes from OpenAsset, it’s not like they can go select a text block from a pool as they did with the media library for images.
It looks to me like the current plugin doesn’t work for this model. It assumes all layout decisions are made in the template code. Here’s what I think might solve it:
- The plugin provides a “text library” in WP, similar to the media library.
- Sync sends all text items to the WP text library, the same way it sends all images.
- Text that syncs to the text library includes Project and Employee text fields as well as OA Text Library items. That way editors can create a project or employee page in WP by picking and choosing which text and image components go where.
- Text in the WP text library is filterable by “text asset category”, project, and employee, similar to the image library.
What do you think of this design? For me, I can’t see using the current plugin for my clients (almost all architects!) without a significant amount of development on my end, making me wonder whether it wouldn’t be more efficient to use the API. With the WP text library feature described above, I think it would work beautifully.
Finally a related question: I see that assets can be manually synced, or synced automatically according to a frequency setting. What is the granularity of the automatic sync? Does it sync absolutely everything regardless of changes, or only what has been modified? If it’s only what has been modified, will it sync the whole “entity” (Project, Employee, File or Text), or will it sync only the fields that have been modified?
Thank you!
~ JulieHi Julie,
Thanks for your questions and links to your work – the are very nice!
Here’s some more info that’s hopefully helpful.
The plugin can currently be used to sync Project and Employee data along with associated images. It’s been designed to help build project portfolios and team pages on websites such that the information is in sync with OpenAsset. This means that webpages that use this data should retrieve it from the WordPress database. The plugin comes with some bundled templates that can either be modified or used as examples of how to build your own custom UI. This page explains how you can access synced data in code. We may be releasing some video content in the future on how to do this so stay tuned.
When a sync is run, the plugin will create posts for each Project and Employee automatically. How information is displayed on these pages is up to you and how you code the frontend of your site. Integrating directly to the website frontend means the information can be controlled from one place (OpenAsset) and there is no need for admins to manually place data on pages in WordPress.
Since the most recent release, it’s now also possible to only use image syncing, although you do this by setting the Project and Employee pages to be hidden. This means WP admin users can manually place images onto posts as they wish. The hidden Project and Employee posts mean images are searchable by Project and Employee in the Media Library. This offers a means for companies to benefit from this image syncing without integrating data if they do not wish to or are not ready to.
Thanks for your thoughts on syncing Text Assets. We will discuss here and we may get back with further questions.
You asked if it would be more efficient to use our API directly. The purpose of this plugin is to make it much easier to build an integration with OpenAsset as it handles authentication and data / file syncing without writing any code.
You asked about auto sync frequency and sync logic. The options for frequency are 8 or 24 hrs. Once a sync is run individual Projects, Employees and images will be updated if they have been updated in OpenAsset since the last sync. You can also manually run a sync whenever you wish.
Thank you for the very quick and clear response, and for answering every question I asked. I’m glad to know about image-only syncing — it sounds like that may be our best option for now.
The topic ‘Support for “Text” content type’ is closed to new replies.