Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google search for article #138

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ contributors.md
/screenshots/

#build
build
build
@next
89 changes: 55 additions & 34 deletions i18n/languages/wp-content-pilot.pot
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright (C) 2021 pluginever
# Copyright (C) 2022 pluginever
# This file is distributed under the GPLv2+.
msgid ""
msgstr ""
"Project-Id-Version: WP Content Pilot 1.3.0\n"
"Project-Id-Version: WP Content Pilot 1.3.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-content-pilot\n"
"POT-Creation-Date: 2021-12-26 20:20:43+00:00\n"
"POT-Creation-Date: 2022-04-25 06:55:39+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
"X-Generator: grunt-wp-i18n 1.0.3\n"
Expand Down Expand Up @@ -1800,8 +1800,8 @@ msgstr ""
msgid "Source link"
msgstr ""

#: includes/modules/class-wpcp-article.php:73
msgid "Select region to search article"
#: includes/modules/class-wpcp-article.php:84
msgid "Select language to search article"
msgstr ""

#: includes/modules/class-wpcp-article.php:113
Expand All @@ -1824,99 +1824,126 @@ msgid ""
" example1.com"
msgstr ""

#: includes/modules/class-wpcp-article.php:152
#: includes/modules/class-wpcp-article.php:136
msgid "Google Search Api Key"
msgstr ""

#: includes/modules/class-wpcp-article.php:137
msgid "Google custom search api key will be needed to get the result."
msgstr ""

#: includes/modules/class-wpcp-article.php:144
msgid "Search Engine ID"
msgstr ""

#: includes/modules/class-wpcp-article.php:145
msgid "Search engine id for searching the links"
msgstr ""

#: includes/modules/class-wpcp-article.php:164
msgid "Loaded Article campaign"
msgstr ""

#: includes/modules/class-wpcp-article.php:169
msgid "Checking google search api key and search engine id for authentication"
msgstr ""

#: includes/modules/class-wpcp-article.php:173
msgid ""
"Google custom search api or search engine id is not set.So, the campaign "
"wont run, disabling campaign."
msgstr ""

#: includes/modules/class-wpcp-article.php:183
#: includes/modules/class-wpcp-article.php:184
#: includes/modules/class-wpcp-envato.php:239
#: includes/modules/class-wpcp-flickr.php:209
#: includes/modules/class-wpcp-youtube.php:281
msgid "Campaign do not have keyword to proceed, please set keyword"
msgstr ""

#: includes/modules/class-wpcp-article.php:155
msgid "Loaded Article campaign"
msgstr ""

#: includes/modules/class-wpcp-article.php:159
#: includes/modules/class-wpcp-article.php:189
msgid "Looking for article for the keyword [ %s ]"
msgstr ""

#: includes/modules/class-wpcp-article.php:168
#: includes/modules/class-wpcp-article.php:199
msgid ""
"The keyword is deactivated for 1 hr because last time could not find any "
"article with keyword [%s]"
msgstr ""

#: includes/modules/class-wpcp-article.php:173
#: includes/modules/class-wpcp-article.php:204
msgid "Checking for cached links in store"
msgstr ""

#: includes/modules/class-wpcp-article.php:176
#: includes/modules/class-wpcp-article.php:207
#: includes/modules/class-wpcp-youtube.php:299
msgid "No cached links in store. Generating new links..."
msgstr ""

#: includes/modules/class-wpcp-article.php:181
#: includes/modules/class-wpcp-article.php:212
#: includes/modules/class-wpcp-feed.php:153
msgid "Looping through cached links for publishing article"
msgstr ""

#: includes/modules/class-wpcp-article.php:183
#: includes/modules/class-wpcp-article.php:214
msgid "Generating article from [%s]"
msgstr ""

#: includes/modules/class-wpcp-article.php:191
#: includes/modules/class-wpcp-article.php:222
#: includes/modules/class-wpcp-feed.php:165
msgid "Failed processing link reason [%s]"
msgstr ""

#: includes/modules/class-wpcp-article.php:195
#: includes/modules/class-wpcp-article.php:226
msgid "Extracting post content from request"
msgstr ""

#: includes/modules/class-wpcp-article.php:201
#: includes/modules/class-wpcp-article.php:232
msgid "Failed readability reason [%s] changing to different link"
msgstr ""

#: includes/modules/class-wpcp-article.php:209
#: includes/modules/class-wpcp-article.php:240
#: includes/modules/class-wpcp-envato.php:376
#: includes/modules/class-wpcp-flickr.php:303
#: includes/modules/class-wpcp-youtube.php:353
msgid "Cleaning title"
msgstr ""

#: includes/modules/class-wpcp-article.php:215
#: includes/modules/class-wpcp-article.php:246
#: includes/modules/class-wpcp-feed.php:189
msgid "Making article content from response"
msgstr ""

#: includes/modules/class-wpcp-article.php:226
#: includes/modules/class-wpcp-article.php:257
#: includes/modules/class-wpcp-envato.php:418
#: includes/modules/class-wpcp-feed.php:203
#: includes/modules/class-wpcp-flickr.php:344
#: includes/modules/class-wpcp-youtube.php:392
msgid "Article processed from campaign"
msgstr ""

#: includes/modules/class-wpcp-article.php:265
#: includes/modules/class-wpcp-article.php:345
msgid "Searching page url [%s]"
msgstr ""

#: includes/modules/class-wpcp-article.php:280
#: includes/modules/class-wpcp-article.php:357
#: includes/modules/class-wpcp-flickr.php:258
#: includes/modules/class-wpcp-youtube.php:479
msgid "Extracting response from request"
msgstr ""

#: includes/modules/class-wpcp-article.php:297
#: includes/modules/class-wpcp-article.php:361
msgid ""
"Could not find any links from search engine, deactivating keyword for an "
"hour."
msgstr ""

#: includes/modules/class-wpcp-article.php:306
#: includes/modules/class-wpcp-article.php:368
msgid "Getting banned hosts for skipping links"
msgstr ""

#: includes/modules/class-wpcp-article.php:319
#: includes/modules/class-wpcp-article.php:380
#: includes/modules/class-wpcp-feed.php:253
msgid "Finding links from response and inserting into database"
msgstr ""
Expand Down Expand Up @@ -2189,12 +2216,6 @@ msgstr ""
msgid "Looping through feed link now trying with [ %s ]"
msgstr ""

#: includes/modules/class-wpcp-feed.php:135
msgid ""
"The feed url is deactivated for 1 hr because last time could not find any "
"article with url [%s]"
msgstr ""

#: includes/modules/class-wpcp-feed.php:141
#: includes/modules/class-wpcp-youtube.php:295
msgid "Checking cached links in store"
Expand Down
Loading