Jump to content
php.lv forumi

Recommended Posts

Posted (edited)

Interesējos par mājaslapas - agregatora izveidi. Ideja ir līdzīga http://refresh.lv , bet darbības mērķis ir cits.

 

Jautājums ir tāds - kā vispār ir uzbūvēta šī lapa?

 

Loģiski ir tas, ka izmanto visu piedāvāto veikalu barotnes, lai produktus izvietotu vienā (savā) lapā. Tā kā no feediem neko daudz nejēdzu, tad vēlos pajautāt vai kāds nevar vispārēji pastāstīt, kā šo variantu varētu realizēt?

 

Atradu, ka var ar Wordpress un attiecīgiem pluginiem (feedwordpress, wp-o-matic) var izveidot šādu mājaslapu.

 

Uzliku uz hostinga Wordpress, ieinstalēju attiecīgo pluginu, paņēmu feedu no citysale (jāatzīst, nezinu, vai visu izdarīju pareizi) - http://citysale.lv/xml.php , bet feedwordpress plugins izmet, ka

 

Problem:

 

FeedWordPress encountered the following error when trying to retrieve this feed:

 

A feed could not be found at http://citysale.lv/xml.php

If you think this is a temporary problem, you can still force FeedWordPress to add the subscription. FeedWordPress will not be able to find any syndicated posts until this problem is resolved.

 

Vai kāds nevarētu pateikt, ko es daru nepareizi?

 

P.S. Jāpiebilst, ka http://pie.lv/feed/ lasa lieliski. Kur varētu būt problēma?

Edited by kapeika
Posted

Tas CitySale XML nav korekts. Man pat Chromium to neatpazīst kā validu XML. :)

Posted (edited)

Kaut ko met jau par otro rindu ārā. Labi, pamēģināšu cita veikala XML, pēc tam atrakstīšu :)

 

Labots: Pamēģināšu ar wp-o-matic

Edited by kapeika

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...