Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7053233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:28:49+00:00 2026-05-28T03:28:49+00:00

I need to generate RSS feed and get title and urls of the posts

  • 0

I need to generate RSS feed and get title and urls of the posts and so on. I decided to use Superfeedr for it. So in this situation, I’m a subscriber in Superfeedr. There is callback (the subscriber URL) field to get data, but I don’t know what should be written in callback file. I researched the net for example code, but I found nothing about example code. BTW, I want to do this process in PHP. So if you know what should I need write to this file, please comment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:28:49+00:00Added an answer on May 28, 2026 at 3:28 am

    John, I think you got it… which is good. Now, what to write in your PHP: this callback url (your PHP file) will be called in 2 different cases:

    1. to verify your intent (to confirm that you want to subscribe)
    2. to notify you of new content.

    I’m no PHP person, but I’ll dscribe the algorithm for you

    To differentiate between the two, you just have to look at the type of request. If it’s a GET request, then, it’s the verification of intent, and if it’s a POST request, then it’s the notification of new content.

    If it’s the verification of content, you just have to echo the hub.challenge provided as a GET param (I believe echo $_GET['hub.challenge']; should work). You should also verify that you really want to the subscription, but that the logic of your app and I don’t know it (most people just look up the $_GET['hub.topic'] in their database and if it’s there, echo the challenge. If not, echo something else.

    If it’s the notification of new content, it’s a bit more complex. You have to access the BODY of the HTTP request (again, not sure how PHP does it, but I’m sure somebody can help), then, parse it to extract the title and urls, and handle them as you would want (most people will save that in their databases).

    I hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to generate an RSS feed for posts in WordPress that contains more
I need an RSS Feed generator; should I use a class or should I
I need to generate an rss feed by filtering.The filterd rss feed should be
I need to generate an xml for a feed which looks roughly like this
I'm using Java, and need to generate a simple, standards-compliant RSS feed. How can
I need generate action links outside controllers. I can use Html.Action in Views, Url.Action
I need to generate css based on client queries. I use the @import url()
I need to generate Entities/Object from selected tables - not all. Is this possible
I am able to get an output for the rss feed but the domain
I need generate codes from this letters $a = array( 'B','C','D','F','G','H','J','K','L','M','N','O', 'P','Q','R','S','T','V','W','X','Y','Z','1','2', '3','4','5','6','7','8','9','0' );

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.