FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
Search found 5 matches
Author Message
Topic: Sites With Multiple Page Posts Behind Next Button
FallColours

Replies: 4
Views: 6994

PostForum: SQL2RSS (MySQL to RSS Feed Creator)   Posted: Wed May 03, 2017 11:10 am   Subject: Have Had The Flu
I didn't mean to just leave your answer without a reply but I managed to get the flu... Anyway, yes I'm aware of scrapers, I just like to experiment, I can see where this would be absolutely great for a site not stuck off behind those buttons. It's my own site I'm wanting the posts from, LOL, or rather one I happened into, long story, but it's got a lot of problems and I want to transfer the data into a WP site. For some reason the extra data I need isn't in the database, so very strange. Anyway, thanks so much for your input and I know I'll get a lot of usage out of this tool Works great. I think I'll go stalk Buzzfeed and see if they have a feed and if so how it's put together. HA HA Always something intriguing about computers and the Internet.
Topic: Sites With Multiple Page Posts Behind Next Button
FallColours

Replies: 4
Views: 6994

PostForum: SQL2RSS (MySQL to RSS Feed Creator)   Posted: Wed Apr 26, 2017 4:29 pm   Subject: Multiple Page Posts Explanation
Yes. I can't think offhand of the technical name, slider isn't really it, but like Buzzfeed where you have to click the NEXT button to see the next picture in a post. I'm trying to devise the easiest way possible to take the data from that type of a site with over 500 posts, each of which have multiple pages so I can import them into a Wordpress site and I'm not particularly concerned with the images because I have easy access to them, but the text is something else again. I've found that importing the rss feed would work perfectly, but for the fact it only takes the info from the first page, and not page 2, 3. 4 and so on. :)
Topic: Sites With Multiple Page Posts Behind Next Button
FallColours

Replies: 4
Views: 6994

PostForum: SQL2RSS (MySQL to RSS Feed Creator)   Posted: Wed Apr 26, 2017 10:16 am   Subject: Sites With Multiple Page Posts Behind Next Button
Hello again :)
Is there some sort of "open sesame" that you know of to include in an Item template that would extract the info on multiple page posts? I've been searching for HOURS and can only find reference to WordPress. I finally put the -Wordpress notation in my search, and then -drupal etc. LOL
Topic: Warning: Division by zero in /home/etc.
FallColours

Replies: 2
Views: 1399

PostForum: SQL2RSS (MySQL to RSS Feed Creator)   Posted: Wed Apr 26, 2017 6:51 am   Subject: Warning: Division by zero in /home/etc.
That took care of it! Thanks so much for your quick reply.
Topic: Warning: Division by zero in /home/etc.
FallColours

Replies: 2
Views: 1399

PostForum: SQL2RSS (MySQL to RSS Feed Creator)   Posted: Mon Apr 24, 2017 7:27 pm   Subject: Warning: Division by zero in /home/etc.
I have run the query that I set in the config file, now named myfeed.php and it returns exactly what I asked it to when I do a query via phpadmin at the database, but when I try to access the feed via http:/mywebsite.com/myfeed.php I continually receive the following error- Warning: Division by zero in /home/socialinterests/public_html/Feeds/myfeed.php on line 32.

I've looked this issue up at stackoverflow and other places but it makes no sense to me. Could you give me any help? This is the statement on line 32.

$SQLQuery = "SELECT * FROM posts WHERE post_status LIKE "%1%" ORDER BY post_title DESC LIMIT 25";

Any help would be greatly appreciated.

Thanks :)
 

 Jump to:   


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme