Plugin Directory

Changeset 2920103

Timestamp:
06/01/2023 12:06:15 PM (14 months ago)
Author:
soportecibeles
Message:

feat: Get articles content from youtube url video. Extract title, descripton and auto captions if avaibale to generate the content.

Location:
cibeles-ai
Files:
149 added
9 edited

Legend:

Unmodified
Added
Removed
  • cibeles-ai/trunk/cibeles-ai.php

    r2909457 r2920103  
    1010 * Author: Cibeles.net
    1111 * Author URI:  https://www.cibeles.net/
    12  * Version: 1.7.0
     12 * Version: 1..0
    1313 * License: GPLv2
    1414 * Released under the GNU General Public License (GPL)
     
    2323$cibelesAiPlugin = [
    2424  'namespace' => 'cibeles-ai',
    25   'version' => '1.7.0',
     25  'version' => '1..0',
    2626  'path' => dirname(__FILE__).DS,
    2727  'url' => plugin_dir_url( __FILE__ ),
    2828  'filename' => __FILE__,
    2929  'api_url' => 'https://openai.editmaker.com/wp/api/',
     30
    3031];
    3132
  • cibeles-ai/trunk/css/main.css

    r2909457 r2920103  
    4343#div_button_autoexcerpt,
    4444#div_button_refrito,
    45 #div_button_corrector{
     45#div_button_corrector,
     46#div_button_youtube{
    4647    margin-bottom: 0px;
    4748    margin-top: 5px;
     
    126127#TB_window .result .titular,
    127128#TB_window .result .resumenText,
     129
    128130#TB_window .result .introduccionText,
    129131#TB_window .result .conclusionText{
  • cibeles-ai/trunk/init.php

    r2909457 r2920103  
    124124                wp_enqueue_script(  'caip_introduccion',    plugin_dir_url( __FILE__ )      .'js/classes/introduccion.js',      array( 'jquery' ), '1.7.0', true );
    125125                wp_enqueue_script(  'caip_conclusion',      plugin_dir_url( __FILE__ )      .'js/classes/conclusion.js',        array( 'jquery' ), '1.7.0', true );
     126
    126127
    127128           
     
    150151                wp_set_script_translations( 'caip_introduccion','cibeles-ai', plugin_dir_path(__FILE__). '/languages/');
    151152                wp_set_script_translations( 'caip_conclusion',  'cibeles-ai', plugin_dir_path(__FILE__). '/languages/');
     153
    152154               
    153155            }else{
     
    181183                require_once $cibelesAiPlugin['path'] . 'views' . DS . 'thickbox' . DS . 'refrito.php';
    182184                require_once $cibelesAiPlugin['path'] . 'views' . DS . 'thickbox' . DS . 'corrector.php';
    183                 require_once $cibelesAiPlugin['path'] . 'views' . DS . 'thickbox' . DS . 'introduccion.php';
     185                require_once $cibelesAiPlugin['path'] . 'views' . DS . 'thickbox' . DS . 'introduccion.php';
    184186                require_once $cibelesAiPlugin['path'] . 'views' . DS . 'thickbox' . DS . 'conclusion.php';
     187
    185188            }       
    186189        }
  • cibeles-ai/trunk/js/init_ai_fields.js

    r2909457 r2920103  
    2525let caip_introduccion;
    2626let caip_conclusion;
     27
    2728
    2829document.addEventListener("DOMContentLoaded", () => {   
     
    105106    });
    106107   
     108
     109
     110
     111
     112
     113
    107114});
    108115
  • cibeles-ai/trunk/languages/cibeles-ai-en_US.po

    r2904345 r2920103  
    22msgstr ""
    33"Project-Id-Version: Cibeles AI\n"
    4 "POT-Creation-Date: 2023-04-26 11:57+0200\n"
    5 "PO-Revision-Date: 2023-04-26 12:00+0200\n"
     4"POT-Creation-Date: 2023-0:57+0200\n"
     5"PO-Revision-Date: 2023-0:00+0200\n"
    66"Last-Translator: Cibeles <soporte@cibeles.net>\n"
    77"Language-Team: Cibeles <soporte@cibeles.net>\n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    13 "X-Generator: Poedit 3.2.2\n"
     13"X-Generator: Poedit 3.\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
     
    2323"X-Poedit-SearchPathExcluded-1: node_modules\n"
    2424
    25 #: init.php:199
     25#: init.php:
    2626msgid ""
    2727"Importante: Cibeles AI Plugin, están sin palabras y no funcionará "
     
    3131"correctly, you can purchase more at "
    3232
    33 #: js/classes/caip_Action.js:85 js/main.js:5
     33#: js/classes/caip_Action.js:85 js/main.js:5
    3434msgid ""
    3535"Se ha quedado sin palabras disponibles, puede contratar más palabras en "
     
    5454
    5555#: js/classes/caip_Multiaction.js:133 js/classes/conclusion.js:22
    56 #: js/classes/introduccion.js:22 js/classes/resumen.js:20 js/main.js:16
     56#: js/classes/introduccion.js:22 js/classes/resumen.js:20
     57#: js/classes/youtube.js:24 js/main.js:16
    5758msgid "Regenerar"
    5859msgstr "Regenerate"
    5960
    6061#: js/classes/caip_Multiaction.js:134 js/classes/conclusion.js:24
    61 #: js/classes/introduccion.js:24 js/classes/resumen.js:23 js/main.js:17
     62#: js/classes/introduccion.js:24 js/classes/resumen.js:23
     63#: js/classes/youtube.js:28 js/main.js:17
    6264msgid "Copiar"
    6365msgstr "Copy"
     
    176178
    177179#: js/classes/conclusion.js:44 js/classes/introduccion.js:44
    178 #: js/classes/resumen.js:48
     180#: js/classes/resumen.js:48
    179181msgid ""
    180182"Hay un problema con el editor tinyMCE, asegúrese que está en modo visual"
     
    326328"There is no text or content in the entry with which to generate the rewrite."
    327329
    328 #: js/classes/refrito.js:16 views/buttons.php:77
     330#: js/classes/refrito.js:16
    329331msgid "Refrito"
    330332msgstr "Rewrited"
    331333
    332 #: js/classes/resumen.js:20 js/main.js:15
     334#: js/classes/resumen.js:20 js/main.js:15
    333335msgid "Regenerar resumen"
    334336msgstr "Regenerate Summary"
     
    379381"A list of %d very short headlines %s  based on the following text: \n"
    380382"\n"
     383
     384
     385
     386
     387
     388
     389
     390
     391
     392
     393
     394
     395
     396
     397
     398
     399
     400
     401
     402
     403
     404
     405
     406
     407
     408
     409
     410
     411
     412
     413
     414
     415
     416
     417
    381418
    382419#: js/gutenberg.js:1
     
    472509msgstr "Number of tags generated"
    473510
    474 #: options.php:62 options.php:69 options.php:77
     511#: options.php:51
     512msgid "Funciones habilitadas"
     513msgstr "Enabled features"
     514
     515#: options.php:70 options.php:77 options.php:85
    475516msgid "checked"
    476517msgstr "checked"
    477518
    478 #: options.php:63
     519#: options.php:
    479520msgid "Idioma del usuario en WP"
    480521msgstr "User language setting in WP"
    481522
    482 #: options.php:64 options.php:71
     523#: options.php:
    483524msgid "idioma detectado"
    484525msgstr "language detected"
    485526
    486 #: options.php:70
     527#: options.php:7
    487528msgid "WPML automático"
    488529msgstr "Auto WPML"
    489530
    490 #: options.php:78
     531#: options.php:
    491532msgid "Idioma fijo"
    492533msgstr "Defined language"
    493534
    494 #: options.php:110
     535#: options.php:132 views/buttons.php:11
     536msgid "Generación titular"
     537msgstr "Title generation"
     538
     539#: options.php:133 views/buttons.php:12
     540msgid "Titular"
     541msgstr "Title"
     542
     543#: options.php:146 views/buttons.php:19
     544msgid "Generación titular corto"
     545msgstr "Short title generation"
     546
     547#: options.php:147 views/buttons.php:20
     548msgid "Titular corto"
     549msgstr "Short title"
     550
     551#: options.php:160 views/buttons.php:27
     552msgid "Generación clickbait"
     553msgstr "Clickbait generation"
     554
     555#: options.php:161 views/buttons.php:28
     556msgid "Clickbait"
     557msgstr "Clickbait"
     558
     559#: options.php:175 views/buttons.php:40
     560msgid "Generación tags"
     561msgstr "Tags generation"
     562
     563#: options.php:176 views/buttons.php:41
     564msgid "Tags"
     565msgstr "Tags"
     566
     567#: options.php:189 views/buttons.php:48
     568msgid "Generación tags automática"
     569msgstr "Tags generation"
     570
     571#: options.php:190 views/buttons.php:49
     572msgid "Autotags"
     573msgstr "Autotags"
     574
     575#: options.php:204 views/buttons.php:60
     576msgid "Generación resumen"
     577msgstr "Summary generation"
     578
     579#: options.php:205 views/buttons.php:61
     580msgid "Resumen"
     581msgstr "Summary"
     582
     583#: options.php:218 views/buttons.php:68
     584msgid "Generación excerpt automática"
     585msgstr "Automatic excerpt generation"
     586
     587#: options.php:219 views/buttons.php:69
     588msgid "Autoexcerpt"
     589msgstr "Autoexcerpt"
     590
     591#: options.php:232 views/buttons.php:76
     592msgid "Generación introducción"
     593msgstr "Introduction generation"
     594
     595#: options.php:233 views/buttons.php:77
     596msgid "Introducción"
     597msgstr "Introduction"
     598
     599#: options.php:246 views/buttons.php:84
     600msgid "Generación conclusión"
     601msgstr "Conclusion generation"
     602
     603#: options.php:247 views/buttons.php:85
     604msgid "Conclusión"
     605msgstr "Conclusion"
     606
     607#: options.php:260 views/buttons.php:92
     608msgid "Generación refrito"
     609msgstr "Rewrite generation"
     610
     611#: options.php:274 views/buttons.php:100
     612msgid "Corrección de ortografía, sintaxis y semántica"
     613msgstr "Correction of spelling, syntax and semantics"
     614
     615#: options.php:275 views/buttons.php:101
     616msgid "Corrector"
     617msgstr "Correct"
     618
     619#: options.php:288
     620msgid "Creación de una noticia a partir de un video de Youtube"
     621msgstr "Creating a news item from a Youtube video"
     622
     623#: options.php:289 views/buttons.php:108 views/buttons.php:109
     624msgid "Youtube"
     625msgstr "Youtube"
     626
     627#: options.php:302
    495628msgid ""
    496629"Configuración de Plugin de AI Cibeles - OpenAI y otros ajustes. (Uso del "
     
    509642"\t. "
    510643
    511 #: options.php:139
     644#: options.php:
    512645msgid "Puede adquirir más palabras en"
    513646msgstr "You can acquire more words in"
    514 
    515 #: views/buttons.php:8
    516 msgid "Generación titular"
    517 msgstr "Title generation"
    518 
    519 #: views/buttons.php:9
    520 msgid "Titular"
    521 msgstr "Title"
    522 
    523 #: views/buttons.php:15
    524 msgid "Generación titular corto"
    525 msgstr "Short title generation"
    526 
    527 #: views/buttons.php:16
    528 msgid "Titular corto"
    529 msgstr "Short title"
    530 
    531 #: views/buttons.php:22
    532 msgid "Generación clickbait"
    533 msgstr "Clickbait generation"
    534 
    535 #: views/buttons.php:23
    536 msgid "Clickbait"
    537 msgstr "Clickbait"
    538 
    539 #: views/buttons.php:34
    540 msgid "Generación tags"
    541 msgstr "Tags generation"
    542 
    543 #: views/buttons.php:35
    544 msgid "Tags"
    545 msgstr "Tags"
    546 
    547 #: views/buttons.php:41
    548 msgid "Generación tags automática"
    549 msgstr "Tags generation"
    550 
    551 #: views/buttons.php:42
    552 msgid "Autotags"
    553 msgstr "Autotags"
    554 
    555 #: views/buttons.php:52
    556 msgid "Generación resumen"
    557 msgstr "Summary generation"
    558 
    559 #: views/buttons.php:53
    560 msgid "Resumen"
    561 msgstr "Summary"
    562 
    563 #: views/buttons.php:58
    564 msgid "Generación introducción"
    565 msgstr "Introduction generation"
    566 
    567 #: views/buttons.php:59
    568 msgid "Introducción"
    569 msgstr "Introduction"
    570 
    571 #: views/buttons.php:64
    572 msgid "Generación conclusión"
    573 msgstr "Conclusion generation"
    574 
    575 #: views/buttons.php:65
    576 msgid "Conclusión"
    577 msgstr "Conclusion"
    578 
    579 #: views/buttons.php:70
    580 msgid "Generación excerpt automática"
    581 msgstr "Automatic excerpt generation"
    582 
    583 #: views/buttons.php:71
    584 msgid "Autoexcerpt"
    585 msgstr "Autoexcerpt"
    586 
    587 #: views/buttons.php:76
    588 msgid "Generación refrito"
    589 msgstr "Rewrite generation"
    590 
    591 #: views/buttons.php:82
    592 msgid "Corrección de ortografía, sintaxis y semántica"
    593 msgstr "Correction of spelling, syntax and semantics"
    594 
    595 #: views/buttons.php:83
    596 msgid "Corrector"
    597 msgstr "Correct"
    598647
    599648#: views/thickbox/clickbait.php:5 views/thickbox/titular.php:5
     
    652701msgstr "Choose from the following tags:"
    653702
     703
     704
     705
     706
     707
     708
     709
     710
     711
     712
     713
     714
     715
     716
     717
     718
     719
     720
     721
     722
     723
     724
     725
     726
     727
     728
    654729#. Plugin Name of the plugin/theme
    655730msgid "Cibeles AI"
  • cibeles-ai/trunk/options.php

    r2909457 r2920103  
    274274                    <a href="#" title="<?php esc_html_e('Corrección de ortografía, sintaxis y semántica','cibeles-ai'); ?>">
    275275                        <?php esc_html_e('Corrector','cibeles-ai'); ?>
     276
     277
     278
     279
     280
     281
     282
     283
     284
     285
     286
     287
     288
     289
    276290                        <i class="fa fa-superpowers"></i>
    277291                    </a>
  • cibeles-ai/trunk/options_buttons_default.php

    r2909457 r2920103  
    3333    $options['caip_enable_buttons']['corrector'] = 'on';
    3434}
     35
     36
     37
  • cibeles-ai/trunk/readme.txt

    r2909457 r2920103  
    33Tags: artificial intelligence, journalists, ai integrated in wordpress, autotags, autoexcerpt, summary, headings, titles, rewriting, corrector, introduction, conslusion, tags
    44Requires at least: 4.9
    5 Tested up to: 6.2
     5Tested up to: 6.2
    66Requires PHP: 5.6
    7 Stable tag: 1.7.0
     7Stable tag: 1..0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    110110= 1.7.0 =
    111111* Ability to enable/disable plugin features (buttons)
     112
     113
  • cibeles-ai/trunk/views/buttons.php

    r2909457 r2920103  
    104104            </div>
    105105        <?php } ?>
     106
     107
     108
     109
     110
     111
     112
     113
    106114</div>
    107115
    108116<script>
    109117let cibelesAiPlugin = {
    110         api_url :   '<?php echo esc_js($cibelesAiPlugin['api_url']); ?>',
    111         url :       '<?php echo esc_js($cibelesAiPlugin['url']); ?>',
    112         namespace : '<?php echo esc_js($cibelesAiPlugin['namespace']); ?>',
    113         nick :      '<?php echo esc_js($cibelesAiPlugin['nick']); ?>',
    114         idioma :    '<?php echo esc_js($cibelesAiPlugin['settings']['idioma']); ?>',
     118        api_url :           '<?php echo esc_js($cibelesAiPlugin['api_url']); ?>',
     119        api_url_youtube :   '<?php echo esc_js($cibelesAiPlugin['api_url_youtube']); ?>',
     120        url :               '<?php echo esc_js($cibelesAiPlugin['url']); ?>',
     121        namespace :         '<?php echo esc_js($cibelesAiPlugin['namespace']); ?>',
     122        nick :              '<?php echo esc_js($cibelesAiPlugin['nick']); ?>',
     123        idioma :            '<?php echo esc_js($cibelesAiPlugin['settings']['idioma']); ?>',
    115124
    116125};
Note: See TracChangeset for help on using the changeset viewer.