Provide computed field properties and tokens

Created on 3 July 2024, 5 months ago

Problem/Motivation

This module has the pieces to build something useful, but something is missing for sitebuilders to be able to use it.

I would like to use this to paste a link in a node field, and then have it set the title and body with the parsed results.

I could do this with a hook and some scripting, but it seems like this module could be extended to make it configurable.

ECA integration would be great. It may already be doable with ECA Endpoint.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mortona2k
  • πŸ‡«πŸ‡·France lazzyvn paris

    What do site builders need?
    I'm building this module for the intranet if someone wants to save an article from another site then they just copy the link.
    and another use for chat box when you copy a link to chat box it will call the module to get the thumbnail (title, image, summary).
    You have a service to parse content, why do you need a hook?
    What ECA plays for this module, I really don't understand

  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    Computed field properties and tokens could be used in views, or to fill in entity field values on save (or ideally after pasting the link).

    Where are you pasting the link? In a field, or wysiwyg? How do you process/display the link title and content after that?

    I'm not asking for a hook, I was saying that I could write a form alter hook to add a form submit function where I can do what I want.

    What my idea is, would be to provide a few utilities so that instead of having to do things in code, they could be configured in the interface.

    An ECA extension would allow us to use the endpoint while processing a link in some pipeline.

  • πŸ‡«πŸ‡·France lazzyvn paris
    • Create link fields
    • In widget select Postlight parser (PHP readability is default)
    • Map yours field to get extracted content
  • Status changed to Closed: works as designed about 2 months ago
  • πŸ‡«πŸ‡·France lazzyvn paris
Production build 0.71.5 2024