Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the fakturo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/clients/client1/web60/web/wp-includes/functions.php on line 6121
FAQS – Pruebas 2

How to use Post template feature inside campaign editing ?

This answer also apply for:

  • How to add all fetched enclosures or media files in the post content ?
  • How to add a Gallery with all images in the post ?
  • How to add shortcodes automatically in the fetched post contents ?

Campaign post template allow to modify the content fetched by adding extra information, such as text, images, campaign data, etc. before save it as post content.

We’ ve created our own tags to arrange and print the different values of the variables that we can find inside the header of the feed and inside each feed item.
You can use some tags that will be replaced for its current value. See below the description and examples on how to use each one.

There is also the possibility of using WordPress shortcodes, writing them in the Post Template of the campaign so WordPress will take care of processing and printing its content.
You can use any shortcode here; will be processed by WordPress.

For example, you can add shortcodes to add all fetched enclosures or media files in the post content.

Supported tags

A tag is a piece of text that gets replaced dynamically when the post is created. Currently, these tags are supported:

  • {title} The feed item title.
  • {content} The feed item content.
  • {itemcontent} The feed item description.
  • {image} Put the featured image on content.
  • {author} The feed item author.
  • {authorlink} The feed item author link (If exist).
  • {permalink} The feed item permalink.
  • {feedurl} The feed URL.
  • {feedtitle} The feed title.
  • {feeddescription} The description of the feed.
  • {feedlogo} The feed’s logo image URL.
  • {feedfavicon} The feed’s Favicon URL.
  • {campaigntitle} This campaign title
  • {campaignid} This campaign ID.
  • {item_date} The date of the post item.
  • {item_time} The time of the post item.

Examples:

If you want to add a link to the source at the bottom of every post and the author, the post template would look like this:

{content} 
<a href="{permalink}">Go to Source</a><br /> 
Author: {author}

{content} will be replaced with the feed item content, {permalink} by the source feed item URL, which makes it a working link and {author} with the original author of the feed item.

Shortcodes:

&lsqb;gallery]

it’s a WP shortcode for insert a gallery into the post. You can read more info here.

You can add a gallery with three columns with all thumbnails images clickables at the bottom of every content, but before source link and author name, the post template would look like this:

{content} 
&lsqb;gallery link="file" columns="3"] 
<a href="{permalink}">Go to Source</a><br /> 
Author: {author}

If you want to display all the media videos or audios in the content you could use

&lsqb;playlist]

The playlist shortcode implements the functionality of displaying a collection of WordPress audio or video files in a post.

The playlist shortcode has several attributes, which are making it possible to alter its output.

&lsqb;playlist type="video" style="dark"]

Read more about &lsqb;playlist] shortcode and its attributes here.

To get best results you could also use external plugins that add new shortcodes to display playlists or different galleries by adding their shortcodes in the post template textarea.
Take a look at this example: https://xlino.com/projects/wordpress-playlist-shortcode-with-external-audio-or-video-files/

Error when loading Settings page

It sounds like cURL is not activated in your hosting.

Can you see writing below the WPeMatico section in your WP Settings?

Try checking the box for “Hide Reviews on Settings”.

 

 

Jump duplicate posts

The name of the option in the Settings is “Continue fetching if found duplicated items”. (This was previously named Jump Duplicates).

Keep in mind that the campaign works with the items in the order they are found in the feed. If a duplicate item is found, that means that all the following items were already fetched in a previously executed campaign. (This happens when the campaign has some time running automatically, not the first time.)

That’s why the campaign is interrupted when it finds the first duplicate post.

  • It is strongly recommended that you deactivate Jump Duplicates to get better behavior.

If you deactivate the “Jump Duplicates” option, you can run the campaign more times in an hour so you don’t miss any posts.

You will not miss new posts because the feed items are ordered by date/time in almost all cases.  When the campaign runs, it goes item by item from newest to oldest, and stops when it finds the first duplicated item, this mean that all items after it (the older ones) are also duplicated.

We are talking about autoblogging, meaning new items are added automatically. Focus your mind on the future, not the past

Example 1: If you fetch 4 out of 10 items in a feed, then you missed 6, but just the first time.  After the first run, the campaign stops when it finds the first duplicated post, in this case, item #4.  Then, if you run the campaign often enough, it will not miss any posts unless the feed adds too many posts between campaign runs.

 

Example 2: If you have a feed that has 34 items, then:

You must set the campaign to work from now to the future, and then you can deprecate old items (or try to manually run a campaign to fetch the 34 items, but this is pointless for the main purpose).

Then, you must know how many new items are added per hour (or per two hours, or per day). This depends of the source site.

If you see that the main site is adding around 10 posts a day, you could say that getting 2 posts per hour is enough. You’ll get better performance if this value is as low as possible, and you won’t miss any items because the main site doesn’t have more than 1 new post per hour.

If you think that more than 2 posts can be added in an hour, then you can fetch every 30 minutes.

This is also better for performance.

 

  • If you are using the Custom Titles feature from the Professional version, you’ll also lose Duplicate Titles checking, because the original title will be saved always as a different title.