Açıklama
Milyutin Code Article Reposter for VK is a powerful WordPress plugin that automatically publishes your articles to a VKontakte group.
- Automatic publishing – triggers when you publish a post.
- Two sources for the short summary:
- Yandex GPT – generates a concise preview using a neural network (requires API key and Folder ID).
- First paragraph (excerpt) – uses the first paragraph of the article. Free and simple.
- Image upload – automatically finds and uploads the featured image, Gutenberg block image, or the first image from the content. Supports HTTP API with CURL fallback for reliability.
- Manual publishing – each post editor has a “Publish now” button for manual sending. If the post is already published, you can re-publish it with a fresh image and text.
- Auto‑update on post changes – when you update an existing published post (title, content, or featured image), the plugin automatically removes the old VK post and creates a new one with the updated content and image.
- Smart logging – all actions are logged to a separate log file, viewable in the admin area.
- Fully translatable – all strings are ready for translation.
External services
This plugin uses the following external services:
-
VKontakte API – used for publishing posts, uploading photos, and retrieving group information.
- Data sent: post title, content, excerpt, featured image, access token.
- When: during automatic or manual post publication, and during post updates.
- Terms of Service: https://vk.com/terms
- Privacy Policy: https://vk.com/privacy
-
Yandex GPT API – used for generating article summaries (optional, only when enabled in settings).
- Data sent: article content (first 3000 characters), API key, Folder ID.
- When: during publication if Yandex GPT is selected as the summary source.
- Terms of Service: https://yandex.ru/legal/cloud_termsofuse
- Privacy Policy: https://yandex.ru/legal/confidential
Yükleme
- Upload the plugin folder to
/wp-content/plugins/or install via “Add New” in the WordPress admin. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to “Milyutin Code Article Reposter for VK” in the left admin menu.
- Fill in the fields:
- Group ID: numeric ID of your VK group (e.g.,
123456789). - Access token: get a token via vkhost.github.io (choose Kate Mobile, permissions
wall, photos, groups, offline).
- Group ID: numeric ID of your VK group (e.g.,
- Choose the summary source (Yandex GPT or first paragraph).
- Click “Save Settings”.
SSS
-
Do I have to pay for Yandex GPT?
-
Yes, Yandex GPT is a paid service, but they offer a free trial grant. If you prefer not to pay, select the “First paragraph” mode.
-
Can I publish to multiple groups?
-
Not yet, but we plan to add this feature in the future.
-
What if the image does not upload?
-
The plugin now uses a hybrid upload method: first tries WordPress HTTP API, then falls back to CURL if needed. Check that your post has a featured image or an image in the content. Also ensure your VK token has
photospermission. -
Where can I see the plugin logs?
-
There is a “Logs” submenu under the plugin menu, where all events are displayed.
-
How does the auto-update work?
-
When you update a post that has already been published to VK, the plugin checks if the title, content, or featured image changed. If so, it deletes the old VK post and creates a new one with the updated data. This ensures the image is also refreshed.
İncelemeler
Bu eklenti için herhangi bir değerlendirme bulunmuyor.
Katkıda Bulunanlar ve Geliştiriciler
“Milyutin Code Article Reposter for VK” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.
Katkıda bulunanlar“Milyutin Code Article Reposter for VK” 1 dile çevrildi. Katkıda bulundukları için çevirmenlere teşekkürler.
“Milyutin Code Article Reposter for VK” eklentisini dilinize çevirin.
Geliştirmeyle ilgilenir misiniz?
Kodu görüntüleyin, SVN deposuna göz atın ya da RSS ile geliştirme günlüğüne abone olun.
Değişiklik Kaydı
1.0.1
- Added auto‑update of VK posts when the WordPress post is updated (title, content, or featured image changes) – uses wall.delete + wall.post.
- Improved image upload reliability with hybrid approach: HTTP API + CURL fallback.
- Fixed internationalization issues (proper escaping and text domains).
- Replaced inline scripts/styles with proper enqueuing.
- Added “Publish again” button in the meta box for already published posts.
- Updated Yandex Terms/Privacy links to working URLs.
- Russian translation for all user‑facing strings.
- General code improvements and security hardening.
1.0.0
- Initial stable release.
