Hello Ger,
Thank you very much for sharing the location of we're in the driver.php file posts the feed, this is perfect, but there but again it gives me more questions.
1. Is the driver.php just handle the read/store/post of the RSS feed, and if so do you store all the feed in arrays or variables? Or do you cherry pick the content that your original design posts.
2. The reason I'm asking is if the entire fed RSS feed is stored already somewhere in your driver.php file it should be simpler to follow how your currently laying out your posted content and add other things or any part of the original feed source.
I'm a php novice but do use Vb2017 to play... With that being said...
I realize that adding this to ext would be a pain, in the admin a user would have to play around with layout, which would add more q&a for you, plus it's most likely a lot of work for you. With that being said...
As a VB user I would have a subroutine that calls up a template, you would have the original template set as default, in the driver.php file instead of having that section to post the content, you call up another file say for your original setup, maybe the file is called default_layout.php. Now a user could simply change default_layout.php in the driver.php file to say to my_layout.php, copying the original file and renaming it to that and directing driver.php to post using an edited layout.php file.
In the default_layout.php their would be basic instructions to the stored variables or arrays, which ones hold what information, with a basic structure (Original) that you like.
The above would cost you some time, but you would not have to change anything to start with in admin, you would call your default layout. People like me could play by maybe add the entire feed, lay it out anyway they want, future if you saw the benefit to this you could add check mark boxes in the admin to choose basic layout, advanced layout, and the entire feed say. In this case a user just click a check box for the feed template he or she wants to use.
So you supply a few template files in ext, say: original_layout.php, advanced_layout.php, entire_layout.php. Now the user just picks what template for posting to pull up. Now advanced php users could just edit one of the called templates that he or she edited.
But all the above assumes you have all the original RSS feed stored in individual variables or arrays.
Now if we all know what each variable means in a REM statement, example in the driver.php file say:
' date$ = date of post
' decription$ = Decription
Etc, etc, then I could just follow your lead in the my_layout.php and edit driver.php file to pull that layout to post the feed.
Anyhow I'm playing with the code you sent me, and I going to give it a try and see if I can get a layout.
Thanks Again,
Edward
PS: Please consider what I proposed if you think this would not be a hard fix or upgrade, and if so I would be willing to donate, but not till the end of the month.
Cheers,
Ed
Lastly the check boxes in the admin ext page would simply call up different templates, example: checkbox1 tells the driver.php file to call up original_layout.php, and checkbox99 calls up super-awesome_layout.php, etc,etc
Sry one more thing, it took me longer to photo edit this admin picture, lol, anyhow picture this...