Skip to content

Added SEO metadata generation with AI integration#1275

Open
girishpanchal30 wants to merge 2 commits into
developmentfrom
feat/pro/975
Open

Added SEO metadata generation with AI integration#1275
girishpanchal30 wants to merge 2 commits into
developmentfrom
feat/pro/975

Conversation

@girishpanchal30

Copy link
Copy Markdown
Contributor

Summary

Implemented SEO metadata generation for imported posts using OpenAI or Feedzy AI.

Screenshots

Screenshot from 2026-07-01 14-30-06

Check before Pull Request is ready:

Closes https://github.com/Codeinwp/feedzy-rss-feeds-pro/issues/975

@girishpanchal30 girishpanchal30 requested a review from Copilot July 1, 2026 09:02
@girishpanchal30 girishpanchal30 added the pr-checklist-skip Allow this Pull Request to skip checklist. label Jul 1, 2026
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Jul 1, 2026
@pirate-bot

pirate-bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Plugin build for 15815c2 is ready 🛎️!

Note

You can preview the changes in the Playground

@pirate-bot

pirate-bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

🌍 i18n String Review Report

📊 Summary

Category Count
➕ Added 11
➖ Removed 0
🔄 Changed 0
Total 11
➕ Added Strings (11) - Click to expand
String Location Words Suggested Match
You can use the magic tags or leave it empty. includes/views/import-meta... 10 You can use the magic tags, URL, or leave it empty.
Example: Generate SEO-optimized metadata for t... build/action-popup/index.... 7 Additional Prompt
Generate SEO Metadata build/action-popup/index.... 3 Generate with OpenAI
Item SEO includes/admin/feedzy-rss... 2 No close match
SEO data includes/views/import-meta... 2 No close match
SEO Title build/action-popup/index.... 2 No close match
Meta Description build/action-popup/index.... 2 No close match
Focus Keyword build/action-popup/index.... 2 No close match
No supported SEO plugin is active. build/action-popup/index.... 6 No close match
SEO Fields to Generate build/action-popup/index.... 4 No close match
SEO plugin required build/action-popup/index.... 3 No close match
Total 43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds lite-side scaffolding and UI for a new SEO metadata generation import action (fz_seo_metadata / item_seo). It lets import jobs generate SEO fields (SEO title, meta description, focus keyword) for imported posts through OpenAI/OpenRouter or Feedzy's managed AI, with the actual metadata consumption and SEO-plugin detection provided by the Pro plugin. The action popup UI is extended with a new SEO panel, and the AI provider/model controls are refactored into shared components.

Changes:

  • Adds a new Generate SEO Metadata action (gated behind Pro + Business/Agency plan + active SEO plugin) with a settings panel, provider/model selection, SEO-field multi-select, and prompt.
  • Extracts ProviderSelect/ModelSelect from RewriteActionItem.js into shared components and adds the generate_seo_metadata() runtime that stores results on Feedzy_Rss_Feeds_Actions::$pending_seo_metadata.
  • Adds the import_seo_data metabox field, magic-tag registration (feedzy_magic_tags_seo), mix-mode Tagify handling, the isSeoPluginActive localized flag, and Chosen CSS scoping to .fz-action-event.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
js/ActionPopup/SortableItem.js New fz_seo_metadata action panel + Chosen-based SEO fields select
js/ActionPopup/RewriteActionItem.js Removes inline ProviderSelect/ModelSelect, imports shared versions
js/ActionPopup/ProviderSelect.js New shared AI provider select (has quote/indent style inconsistency)
js/ActionPopup/ModelSelect.js New shared model select (unused ToggleControl import)
js/ActionPopup/index.js Adds SEO action entry in the action list, gated by plan/SEO-plugin
includes/views/js/import-metabox-edit.js Excludes SEO field from normal Tagify; adds mix-mode Tagify for it
includes/views/import-metabox-edit.php Adds the import_seo_data field with magic-tag dropdown
includes/feedzy-rss-feeds.php Registers feedzy_magic_tags_seo filter
includes/admin/feedzy-rss-feeds-import.php Loads/runs the SEO action, adds magic_tags_seo, extends magic-tag rendering
includes/admin/feedzy-rss-feeds-admin.php Localizes isSeoPluginActive flag
includes/admin/feedzy-rss-feeds-actions.php Adds generate_seo_metadata() and pending_seo_metadata property
css/settings.css Extends Chosen styling selectors to .fz-action-event

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread js/ActionPopup/ModelSelect.js
Comment thread includes/admin/feedzy-rss-feeds-actions.php
Comment thread js/ActionPopup/ProviderSelect.js Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants