Wedzera Chokunze Podcast Kudya kune Yako WordPress Saiti Saiti

WordPress Podcast Feed Mabasa

Iyo inozivikanwa podcast pamhepo inoshandisa WordPress seye yavo yekushambadzira chikuva cheruzivo nezve yavo podcast pamwe nekudhinda toni yeruzivo nezve yega show. Nekudaro, ivo vanogamuchira iyo podcast pachayo pane yekunze podcast yekutambira injini. Iyo yakanaka isina musono kune vashanyi vesaiti - asi haina chimwe chinhu chisingaonekwe kune vashandisi asi chinoonekwa kune vanokambaira seGoogle.

Google inotsanangura izvi mukutsigira kwavo:

Uye zvakare, kana iwe ukabatanidza yako RSS feed nepeji peji, vashandisi vanotsvaga yako podcast nemazita vanogona kuwana tsananguro yepodcast yako pamwe nechitunha chezvikamu zvekuratidzira kwako paGoogle Kutsvaga. Kana iwe ukasapa peji rakabatana, kana Google isingakwanise kufungidzira peji rako rekutanga, zvikamu zvako zvinogona kuoneka mumigumisiro yeGoogle Kutsvaga, asi zvinongobatanidzwa nezvikamu kubva kune mamwe podcasts pane iwo musoro iwoyo.

Google - Tora podcast yako paGoogle

 Nevaviri vakabatana, unogona kuwana kufukidzwa kwakanaka muGoogle:

Podcasts paGoogle SERP

Kukamba kwesaiti kunoratidzira blog post feed, asi kwete iyo chaiyo Podcast feed - inoitirwa kunze. Iyo kambani inoda kuchengeta yayo yazvino blog feed, saka isu tinoda kuwedzera imwe yekuwedzera feed kune ino saiti. Heano maitiro:

  1. Tinofanira kunyora a chikafu chitsva mukati memusoro wavo weWordPress.
  2. Tinofanira kudaro dzosa uye ubudise yekunze podcast feed mune icho chitsva chikafu.
  3. Tinofanira kudaro wedzera chinongedzo mumusoro yeiyo WordPress saiti inoratidza iyo nyowani feed URL.
  4. Bhonasi: Isu tinofanirwa kuchenesa iyo itsva podcast feed URL saka hatifanirwe kuvimba nemibvunzo uye tinokwanisa nyorazve nzira mune yakanaka URL.

Nzira yekuwedzera sei Nyowani Nyowani kune WordPress

Mukati medingindira rako kana (yakakurudzirwa kwazvo) theme yemwana's function.php faira, iwe uchazoda kuwedzera iyo nyowani feed uye kuudza WordPress kuti uchaivaka sei. Imwe katsamba pane izvi… ichashambadzira iyo nyowani feed pa https://yoursite.com/?feed=podcast

function add_podcast_feed() {
    add_feed( 'podcast', 'render_podcast_feed' );
}
add_action( 'init', 'add_podcast_feed' );

Dzosera Kunze kwePodcast Kudya uye Kuzvishambadza Mune Iyo WordPress Kupa

Isu takaudza WordPress isu taizopa iyo podcast tichishandisa render_podcast_feed, saka isu tave kuda kutora chikafu chekunze (chakatemerwa https: //yourexternalpodcast.com/feed/ mune iri pazasi basa uye riteedzere mukati meWordPress panguva yekukumbira. Kamwe katsamba… WordPress ichavhara mhinduro.

function render_podcast_feed() {
    header( 'Content-Type: application/rss+xml' );
    $podcast = 'https://yourexternalpodcast.com/feed/';
    
    $response = wp_remote_get( $podcast );
        try {
            $podcast_feed = $response['body'];

        } catch ( Exception $ex ) {
            $podcast_feed = null;
        } // end try/catch
 
    echo $podcast_feed;
} 

Nyorazve Chako Chitsva Chidimbu kune Nice URL

Hechino zvishoma bhonasi. Rangarira mashandisiro anoita chikafu ne querystring? Tinogona kuwedzera rewrite mutemo kune works.php kuchinjanisa izvo kunze neNice URL:

function podcast_feed_rewrite( $wp_rewrite ) {
    $feed_rules = array(
        'feed/podcast/' => 'index.php?feed=podcast'
    );

    $wp_rewrite->rules = $feed_rules + $wp_rewrite->rules;
}
add_filter( 'generate_rewrite_rules', 'podcast_feed_rewrite' );

Zvino, chikafu chitsva chakaburitswa pa https://yoursite.com/feed/podcast/

Wedzera chinongedzo kune iyo Kudyisa Mumusoro Wako

Nhanho yekupedzisira ndeyekuti iwe unoda kuwedzera chinongedzo mukati memusoro mateki eako WordPress saiti kuitira kuti vanokambaira vagone kuiwana. Mune ino kesi, isu tinotoda kudoma chikafu senge chekutanga chakanyorwa (pamusoro peblog uye makomendi feeds), saka tinowedzera kukosha kwa1. Uchada zvakare kugadzirisa zita iri mu link uye uve nechokwadi chekuti haina 't match imwe zita rechikafu panzvimbo iyi:

function add_podcast_link_head() {
    $podcast_link = site_url().'/feed/podcast/';
    ?>
    <link rel="alternate" type="application/rss+xml" title="My Podcast Name" href="<?php echo $podcast_link; ?>"/>
    <?php
}
add_action('wp_head', 'add_podcast_link_head', 1);

Yako Nyowani WordPress Podcast Kudya

Chinhu cheNice nezve iyi nzira ndechekuti isu takakwanisa kuzvimiririra-neshanduko dzese mukati meiyi saiti theme ... hapana akawedzera mafaera etemplate kana kugadzirisa kwemisoro, nezvimwe zvakati wandei zvakakosha:

  • permalinks - Paunongowedzera kodhi ku functions.php, iwe unofanirwa kuvhura Zvirongwa> Permalinks muWordPress admin. Izvi zvinozorodza yako permalink mitemo kuitira kuti kodhi isu yatakawedzera yekunyorazve iko zvino yaitwa.
  • chibatiso - Kana yako saiti iri SSL uye yako podcast feed isiri, iwe unozomhanyisa muzvinhu zvine musanganiswa chengetedzo. Ini ndaikurudzira kwazvo kuona zvese saiti yako uye yako podcast yekutambira yakachengetedzwa zvakachengetedzwa (pa https address isina zvikanganiso).
  • Kubatana - Ini ndaikurudzira zvikuru kushandisa ino doma-yakatarwa podcast feed kuti ubatanidze kuenda kuGoogle, Apple, Spotify uye chero rimwe basa. Mukana apa ndewekuti iwe unogona ikozvino shandura yako podcast inomiririra pese paunoda uye haufanire kugadzirisa yega yega sevhisi sosi yekudya.
  • Analytics - Ini pachangu ndaikurudzira kuve nebasa rakafanana Feedpress kwaunogona kugadzirisa feed yako uye uwane imwe yepakati yekutevera pane iko kushandiswa kupfuura izvo zvinopihwa nemasevhisi mazhinji FeedPress zvakare inobvumidza iwe kushandura kushambadzira kune ako masocial chiteshi, inotonhorera chimiro!

Unoda kuona kana iri kushanda? Unogona kushandisa iyo Kanda Yekumhanyisa Validator kuongorora chikafu!

4 Comments

  1. 1

    Zvakanditorera 2 1/2 mazuva ekutsvaga mambure kuti ndiwane chimwe chinhu chandaifunga kuti WordPress podcaster yega yega inofanira kuda kuita - tambira iyo RSS feed yavo yechitatu-bato-yakabatwa podcast pane yavo wordpress saiti.

    Saka ndinokutendai! Zvechokwadi chinyorwa chako chinokumbira mubvunzo: sei isiri iyi WordPress plugin kare? Yepedyo yandakawana yaive WP RSS Aggregator, asi yakanyatsonyora zvakare XML uye yakatyora iyo RSS.

  2. 2

    Ikozvino ndiri kuseta zvese nekudya kutsva kubva kune wangu anondigamuchira (nekuda kwekodhi snippets) Ndangoona kuti Cast Feed Validator inovenga RSS yangu uye inowira pamusoro pevakafa - https://podba.se/validate/?url=https://carbonwatchdog.org/feed/podcast/

    Asi yepakutanga paPodbean inosimbisa zvakanaka. Zvinoshungurudza meseji yekukanganisa haitauri zvakawanda kunze kwe “Argh! Ndichangobva kufa!”

    Iyo RSS inosimbisa zvakanaka pa https://podba.se/validate/?url=https://carbonwatchdog.org/feed/podcast/

  3. 3

    Hi
    Ndakamisa saiti yangu yeWordPress kuti nditsikise zvakare RSS yangu sezvakaratidzwa, uye inoshanda nemazvo, zvakanaka kuzvidzora pachangu uye kutora nhanho hombe kunze kwepodcasting maitiro.

    Ndine mubvunzo zvakadaro, nekuda kwemagadzirirwo anoitwa podcasting host yangu iyo RSS XML - inogadzika otomatiki chinongedzo chewebhu chechikamu chega chega chinonongedza kune peji reHTML pane podcasting host's webhusaiti yemahara yandisingashandise.

    Chinhu chakadai <rss2><channel><item><link></link> kana chiratidzo chinoshanda. Kana kuti “rss2> channel> item> link”

    Apple Podcast inoshandisa iyi data yeXML kuratidza chinongedzo chikuru pane peji rechikamu chega chega. Asi ini handishandise iyo webhusaiti yemahara kubva kune yangu podcasting host (Podbeans). Ini ndinoida kuti inongedze kune yangu webhusaiti - uko iyo RSS feed yandinotonga inotambirwa.

    Iwe unofunga kuti zvinogoneka here kushandisa XML iri kuuya kuti uchinje zvinongedzo mairi kubva podbeans.com to my-website.com?

    • 4

      Zvinogoneka kuita izvi, asi iwe unofanirwa kunyora kodhi kukumbira iwo chaiwo mafaera akabatwa (seMP3). Ini kutaura chokwadi handingaite izvi sezvo mazhinji mawebhusaiti asina kugadziridzwa kune hombe faira kurodha inodiwa nemapodcasts.

Unofungei?

Nzvimbo iyi inoshandisa Akismet kuderedza spam. Dzidza kuti sei deta yako inoshandiswa.