# Roundups.ai

[Roundups.ai](https://roundups.ai) lets you generate guides that influence buying decisions. This WordPress Plugin provides a secure endpoint for remote publishing.

Contributors: roundups
Tags: blogs, roundups, affiliate marketing, seo
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 0.0.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

## Features

- Secure API key authentication
- Dual endpoint support (REST API and custom URLs)
- Simple admin interface via the Roundups application portal

## Installation

1. Upload the plugin files to the `/wp-content/plugins/roundups-ai/` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Complete the connection at Roundups.ai through our WordPress Integration

## External Services

This plugin connects to the Roundups.ai API to fetch and publish content.

**What data is sent:**
- Your Roundups API key (for authentication)
- Post data including title, content, excerpt, categories, and tags when publishing

**When data is sent:**
- When fetching your latest roundups from the admin settings page
- When creating a draft post from a roundup
- When the Roundups.ai service publishes content to your WordPress site

**Service Information:**
- Service: [Roundups.ai API](https://roundups.ai)
- [Terms of Service](https://roundups.ai/terms)
- [Privacy Policy](https://roundups.ai/privacy)

## Security Plugin Configuration

If you're using security plugins, you'll need to allowlist these endpoints:

### REST API Endpoints
```
/wp-json/roundups/v1/verify
/wp-json/roundups/v1/posts
```

### Alternative Endpoints
```
/roundups/v1/verify
/roundups/v1/posts
```

## Changelog

### 0.0.4
* WordPress.org Plugin Directory compliance fixes
* Added external services documentation
* Enhanced data sanitization for all JSON inputs
* Updated all function and constant prefixes to roundupsai_ (9 characters)
* Improved security with comprehensive input validation
* Updated nonce names for better uniqueness

### 0.0.3
* Fixed WordPress.org compliance issues
* Added proper sanitization for all input data
* Replaced inline CSS with wp_add_inline_style
* Added sanitize_callback to settings registration
* Improved security for $_SERVER variables
* Replaced json_encode with wp_json_encode

### 0.0.2
* Added Roundups API
* Added article draft creation UI

### 0.0.1
* Initial release.

## Upgrade Notice

### 0.0.4
WordPress Plugin Directory compliance update with enhanced security and sanitization.

### 0.0.3
Security improvements and WordPress.org compliance fixes.

### 0.0.2
Added support for meta descriptions, featured images, and improved UI.
