Set Up Real-Time Data Feed Max on Joomla

Expose Joomla articles, VirtueMart products, or custom components as a JSON feed

Back to Real-Time Data Feed Max
Pro 套餐

What Your Feed Should Look Like

Real-Time Data Feed Max accepts any public URL returning JSON or plain text. The AI reads whatever you give it — products, services, bookable slots, property listings, menus, opening hours, anything — and uses it to answer visitor questions. There is no required shape or field name.

The one exception is Dynamic Product Cards. If you want matching items to render as visual cards in the chat, use these specific field names: name, price, description, image_url, button_link, in_stock.

Example — products (triggers Dynamic Product Cards)

{
  "products": [
    {
      "name": "Wireless Headphones Pro",
      "price": "$149.99",
      "description": "Premium over-ear wireless headphones with ANC.",
      "image_url": "https://example.com/images/headphones.jpg",
      "button_link": "https://example.com/products/headphones",
      "in_stock": true
    }
  ]
}

Example — services (any shape works)

{
  "services": [
    {
      "service": "Deep tissue massage",
      "duration_minutes": 60,
      "price_from": "$95",
      "therapists_available": ["Anna", "Mark"],
      "booking_link": "https://example.com/book/deep-tissue"
    },
    {
      "service": "Haircut & style",
      "duration_minutes": 45,
      "price_from": "$55",
      "booking_link": "https://example.com/book/haircut"
    }
  ]
}

Example — plain text (works too)

Opening hours: Mon-Fri 9-6, Sat 10-4, closed Sunday.
Delivery: Free over $30, minimum order $15, within 5 miles.
Lunch specials (weekdays only):
- Margherita pizza $12
- Caesar salad $9
- Soup of the day $7

Rule of thumb: Use descriptive field names the AI can interpret (service, duration, price, location, etc.). If Dynamic Product Cards make sense for your business, follow the exact field names above. If they don't, use whatever shape fits your data — the AI still searches it and answers questions correctly.

Option 1 — Joomla Web Services API (Joomla 4+)

Joomla 4 introduced a built-in REST API covering articles, users, menus, and more. It requires authentication via a Super User's API token, so you'll need a small proxy between Joomla and Real-Time Data Feed Max.

1
Enable the Web Services Joomla admin → System → Manage → Plugins → search Web Services → enable Web Services - Content, plus Authentication - Token if not already on.
2
Generate an API token Users → Manage → edit a Super User → Joomla API Token tab → enable and copy the token.
3
Test the endpoint GET https://your-site.com/api/index.php/v1/content/articles with header X-Joomla-Token: YOUR_TOKEN.
4
Build a proxy that reshapes the response Keeps the token server-side and returns a flat JSON in our format.
GET https://your-site.com/api/index.php/v1/content/articles?page[limit]=100
X-Joomla-Token: YOUR_TOKEN

Option 2 — Custom Component Endpoint

A lightweight Joomla component can register a public endpoint that returns JSON directly — no token required, runs inside Joomla.

<?php
// components/com_aifeed/aifeed.php
defined('_JEXEC') or die;
header('Content-Type: application/json');

$db = JFactory::getDbo();
$query = $db->getQuery(true)
  ->select(['id', 'title', 'introtext', 'alias'])
  ->from($db->quoteName('#__content'))
  ->where('state = 1');
$db->setQuery($query);
$rows = $db->loadAssocList();

$base = JURI::base();
$out = array_map(function($r) use ($base) {
  return [
    'name'        => $r['title'],
    'description' => strip_tags($r['introtext']),
    'button_link' => $base . 'index.php?option=com_content&view=article&id=' . $r['id'],
  ];
}, $rows);

echo json_encode(['products' => $out]);
exit;

Feed URL: https://your-site.com/index.php?option=com_aifeed

Option 3 — VirtueMart / HikaShop / J2Store Extensions

If you're running a Joomla e-commerce extension, check for built-in feed generators:

  • VirtueMart has product feed plugins (e.g. Google Shopping).
  • HikaShop has built-in CSV/XML export that can be scheduled.
  • J2Store has a Feed Pro add-on with JSON output.

Configure the feed with JSON output matching our format, then use the public feed URL.

提示: Web Services (Option 1) is the most future-proof choice since it ships with Joomla core. Custom components require PHP dev time but give you the cleanest output.

故障排除

I see a password page instead of JSON

Your site is in maintenance, staging, or password-protected mode. Real-Time Data Feed Max needs a fully public URL.

Real-Time Data Feed Max says the feed failed

Open the URL in a private browser window. If you don't see JSON, the URL is wrong or the endpoint is down. If you see JSON but we still fail, the response may be missing a Content-Type: application/json header or exceeding the 10,000,000 character limit.

Product cards don't render

Dynamic Product Cards require specific field names (name, price, image_url, button_link, in_stock). If your platform uses different names, reshape the response in a small custom script before exposing it.

Data looks wrong or outdated

The feed auto-refreshes every 24 hours. For immediate updates, click Refresh Now in Real-Time Data Feed Max. For live fields (price, stock), the AI pulls fresh data on every message — so the 24h cycle only affects which items are known, not their current state.

Feed size exceeded

Real-Time Data Feed Max accepts up to 10,000,000 characters (~25,000 items). If you exceed that, trim fields (skip long HTML descriptions), split your catalog, or use the standard Real-Time Data Feed alongside for secondary data.

Still stuck? Start with the simplest option for your platform and verify the URL works in a browser before pasting it into Real-Time Data Feed Max. You can always upgrade to a more advanced option later — only the URL field changes on our side.