Faka Okuphakelayo Kwangaphandle Kwe-Podcast kuma-feed wakho we-WordPress Site

WordPress Podcast Okuphakelayo Imisebenzi

I-podcast online online isebenzisa WordPress njengeplatifomu yabo yokushicilela yolwazi mayelana ne-podcast yabo kanye nokushicilela ithani lemininingwane mayelana nombukiso ngamunye. Kodwa-ke, empeleni basingatha i-podcast uqobo kunjini yokubamba i-podcast yangaphandle. Ihle kakhulu ngaphandle kwezivakashi zesayithi - kepha ayinaso isici esisodwa esingabonakali kubasebenzisi kodwa esibonakala kubakhasi abanjengeGoogle.

I-Google icacisa lokhu ekusekeleni kwabo:

Ngaphezu kwalokho, uma uhlobanisa okuphakelayo kwakho kwe-RSS nekhasi eliyisiqalo, abasebenzisi abafuna i-podcast yakho ngegama bangathola incazelo ye-podcast yakho kanye ne-carousel yeziqephu zombukiso wakho ku-Google Search. Uma unganikeli ngekhasi eliyisiqalo elixhunyiwe, noma i-Google ingakwazi ukuqagela ikhasi lakho eliyisiqalo, iziqephu zakho zisengavela kumiphumela yosesho lwe-Google, kodwa ziqoqwe ngeziqephu ezivela kwamanye ama-podcast kusihloko esifanayo.

Google - Thola i-podcast yakho ku-Google

 Ngalokhu okubili okuhlangene, ungathola ukumbozwa okuhle ku-Google:

Ama-podcast ku-Google SERP

Ukukhasa kwesayithi kuveza okuphakelayo kwebhulogi, kepha hhayi okwangempela okuphakelayo kwe-podcast - ephethwe ngaphandle. Inkampani ifuna ukugcina okuphakelayo kwayo kwamabhulogi, ngakho-ke sifuna ukwengeza okuphakelayo okwengeziwe kusayithi. Nakhu ukuthi:

  1. Sidinga ukufaka ikhodi a okuphakelayo okusha ngaphakathi kwetimu yabo ye-WordPress.
  2. Sidinga uku thola futhi ushicilele okuphakelayo kwangaphandle kwe-podcast kulokho okuphakelayo okusha.
  3. Sidinga uku engeza isixhumanisi ekhanda wesayithi le-WordPress elibonisa i-URL entsha yokuphakelayo.
  4. Ibhonasi: Sidinga ukuhlanza i-URL entsha yokuphakela i-podcast ngakho-ke akudingeki ukuthi sincike emibuzweni futhi sikwazi bhala kabusha indlela nge-URL enhle.

Ungasifaka Kanjani Okuphakelayo Okusha ku-WordPress

Ngaphakathi kwengqikithi yakho noma (kunconywe kakhulu) ifayela lengqikithi yengane's function.php, uzofuna ukwengeza okuphakelayo okusha bese utshela i-WordPress ukuthi uzokwakha kanjani. Inothi elilodwa kulokhu… lizoshicilela okuphakelayo okusha ku- https://yoursite.com/?feed=podcast

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

Buyisa Okuphakelayo Kwangaphandle KwePodcast bese Ukushicilela Ku-A WordPress feed

Sitshele i-WordPress ukuthi sizonikela nge-podcast sisebenzisa nikeza_podcast_feed, ngakho-ke manje sifuna ukuthola okuphakelayo kwangaphandle (okuqokwe njengo-https: //yourexternalpodcast.com/feed/ emsebenzini ongezansi bese uyiphinda kabili ngaphakathi kwe-WordPress ngesikhathi sokufaka isicelo. Inothi elilodwa… I-WordPress izobekisa impendulo.

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;
} 

Phinda ubhale okuphakelayo kwakho okusha ku-URL enhle

Nayi ibhonasi encane. Khumbula ukuthi okuphakelayo kushicilelwa kanjani ngombuzo? Singangeza umthetho wokubhala kabusha ku-works.php ukushintsha lokho nge-URL enhle:

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' );

Manje, okuphakelayo okusha kushicilelwe ngo- https://yoursite.com/feed/podcast/

Faka isixhumanisi kokuphakelayo ekhanda lakho

Isinyathelo sokugcina ukuthi ufuna ukufaka isixhumanisi ngaphakathi kwamathegi ekhanda wesayithi lakho le-WordPress ukuze abakhasayo bakwazi ukusithola. Kulokhu, size sifune ukuqoka okuphakelayo njengokokuqala okubalulwe (ngaphezulu kwebhulogi kanye nokuphakelwa kwamazwana), ngakho-ke sifaka okubaluleke kakhulu koku-1. Uzophinda ufune ukuvuselela isihloko kusixhumanisi futhi uqiniseke ukuthi asihlali 'fanisa esinye isihloko sesifunzo esizeni:

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);

Okuphakelayo kwakho okusha kwe-WordPress Podcast

Into enhle ngale ndlela ukuthi sikwazile ukuqukatha lonke ushintsho ngaphakathi kwetimu yesayithi… awekho amafayela wesifanekiso angeziwe noma ukuhlelwa kwamaheda, njll. Imininingwane embalwa ebalulekile:

  • permalinks - Uma usungeze ikhodi ku- imisebenzi.php, uzodinga ukuvula Amasethingi> Ama-Permalinks ku-WordPress admin. Lokho kuzovuselela imithetho yakho ye-permalink ukuze ikhodi esiyingezile yokubhala kabusha manje isetshenziswe.
  • Security - Uma isayithi lakho liyi-SSL futhi i-podcast feed yakho ingekho, uzobhekana nezinkinga zokuphepha okuxubekile. Ngingancoma kakhulu ukuthi kuqinisekiswe ukuthi isiza sakho kanye nokusingathwa kwe-podcast yakho kusingathwa ngokuphepha (ku- https Ikheli elingenamaphutha).
  • Ukuvumelanisa - Ngingancoma kakhulu ukusebenzisa lokhu okuphakelayo kwe-podcast eqondene nesizinda ukuhlangana kuGoogle, Apple, Spotify kanye nanoma iyiphi enye insizakalo. Inzuzo lapha ukuthi manje ungashintsha umphathi wakho we-podcast noma kunini lapho uthanda futhi ngeke kudingeke uvuselele okuphakelayo komthombo ngamunye wesevisi.
  • Ama-Analytics - Mina ngokwami ​​ngincoma ukuba nensizakalo efana nayo FeedPress lapho ungenza khona ngokwezifiso okuphakelayo kwakho futhi uthole ukulandela ngomkhondo okuphakathi nendawo ekusetshenzisweni kwakho ngaphesheya kwezinsizakalo eziningi ezihlinzekwayo. I-FeedPress ikuvumela ukuthi uguqule ukushicilela kuziteshi zakho zenhlalo, isici esihle kakhulu!

Ufuna ukubona ukuthi kuyasebenza yini? Ungasebenzisa Isiphakeli se-Cast Validator ukuqinisekisa okuphakelayo!

3 Amazwana

  1. 1

    Kungithathe izinsuku ezi-2/1 ukusesha inetha ukuthola okuthile ebengicabanga ukuthi yonke i-podcaster ye-WordPress kumele ifune ukuyenza - ukusingatha okuphakelayo kwe-RSS kwepodcast yabo ebanjelwe iqembu lesithathu kusayithi labo lamagama.

    Ngakho-ke ngiyabonga! Vele i-athikili yakho icela lo mbuzo: kungani lokhu kungeyona i-plugin ye-WordPress vele? Esiseduzane engikutholile kwakuyi-WP RSS Aggregator, kepha yayibhala ngokuphelele i-XML futhi yephula i-RSS.

  2. 2

    Hi
    Ngisethe isiza sami se-WordPress ukuze ngishicilele kabusha i-RSS yami njengoba nje kukhonjisiwe, futhi isebenza kahle, kuhle ukuyilawula ngokwami ​​futhi ngithathe isinyathelo esikhulu senqubo ye-podcasting.

    Nginombuzo nokho, ngenxa yendlela umphathi wami we-podcasting akhiqiza ngayo i-RSS XML - ikhiqiza ngokuzenzakalela isixhumanisi sewebhu sesiqephu ngasinye esikhomba ekhasini le-HTML elikuwebhusayithi ye-freebie host host engingayisebenzisi.

    Okuthile okufana <rss2><channel><item><link></link> uma ukumakwa kusebenza. Noma "rss2> isiteshi> into> isixhumanisi"

    I-Apple Podcast isebenzisa le datha yeXML ukukhombisa isixhumanisi esikhulu ekhasini laso esiqeshini ngasinye. Kepha angiyisebenzisi leyo webhusayithi ye-freebie kusuka kumphathi wami we-podcasting (ama-Podbeans). Ngiyayidinga ukuze ikhombe kuwebhusayithi yami - lapho i-RSS feed engiyilawulayo isingathwa khona.

    Ucabanga ukuthi kungenzeka ukukhohlisa i-XML engenayo ukushintsha izixhumanisi kuyo ukusuka ku-podbeans.com kuya ku-my-website.com?

    • 3

      Kungenzeka ukwenze lokhu, kepha futhi kuzofanela ubhale ikhodi ukucela amafayela abanjwe uqobo (njenge-MP3). Ngeqiniso ngeke ngikwenze lokhu njengoba abasingathi abaningi bewebhu bengenzelwanga ukulanda amafayela amakhulu adingekayo ngama-podcast.

UCABANGANI?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda ukuthi idatha yakho yokuphawula isetshenziswa kanjani.