Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    Creare RSS Feed di solo una parte dell'Home Page

    Ciao, vorrei creare RSS Feed di solo una parte dell'Home Page, ho trovato queso sito interessante, Feed43 , ma non riesco a definire le regole di estrazione dall'index.htm, qualcuno mi da una mano?
    io ho:
    1.Caricato l'home page sul feed43, e si vede il codice html, quindi ok
    Step 2. Define extraction rules:
    Global Search Pattern:

    Global Search Pattern' field

    [Optional] Search pattern used to locate list of news items within page source.

    Global search pattern is applied to source once and defines, where to search for news items (see also 'Item (repeatable) Search Pattern' field). If not used, entire page source will be used to locate news items (this works the same as defining just {%} as search pattern).

    For example, if a web page consists of several logical blocks, each containing a list of news on particular topic, you can use global search pattern to tell, what exact block should be translated as news feed.

    Analyze web page source (see 'Page source' area) and find unique string right before the block you are interested in, and another string right after that block. Then define the pattern as follows (you can select text from 'Page Source' area with mouse and then copy-paste it to your edit-box):
    start_string{%}end_string
    Example:
    <h1>Local news:</h1>{%}<h1>

    io vorrei inserire solo questo codice dell'home page:

    <h2>
    Appuntamenti in Discoteca con Gigi D&#39;Agostino:</h2>




    <a href="http://gigidagostino.byethost12.com/forum/viewtopic.php?f=8&amp;t=16">
    30 Maggio @ Discoteca Mirò</a>, Lignano Sabbiadoro (UDINE)

    31 Maggio 2008 @ Discoteca Samuel (Bergamo)

    01 Giugno 2008 @ 24 Mila Baci (Latina)

    07 Giugno 2008 @ The City (Slovenia)

    08 Giugno 2008 @ Mazoon (Sirmione, Brescia)

    11 Giugno 2008 @ Continental (Lecco)

    13 Giugno 2008 @ Cuccaro Club (La Spezia)

    14 Giugno 2008 @ Templares (Torino)

    18 Giugno 2008 @ Continental (Lecco)

    25 Giugno 2008 @ Continental (Lecco)


    copio tutto il testo o solo il titolo taggato <h2></h2>??

    e poi ancora:

    Item (repeatable) Search Pattern' field:

    <Required> Search pattern used to locate individual news items within page source.

    Item search pattern is applied to source repeatedly, and defines where to find attributes for each news item (title, link and, possibly, content) in any order.

    If global search pattern is not defined, entire page source is used, otherwise only text that matches global search pattern will be scanned.
    Example:
    <h2>{%}</h2>{*}{*}{%}<h2>

    If your news feed should contain only one news item, you can use {%} as item search pattern just to grab all the text matched by global search pattern (see 'Global Search Pattern' field).


    io qui ci metterei solo {%}, cosi piglia tutte le news del testo selezionato nella global search pattern..

    mi date una mano?

    ciao e grazie!!
    hardstyle will survive

  2. #2
    le sto provando tutte ma continua a dirmi Global pattern returned empty string!!
    hardstyle will survive

  3. #3
    penso sia un problema della formattazione dei link della sezione interessata... bisogna fare qualcosa di particolare?
    hardstyle will survive

  4. #4
    nessuno lo sa?
    hardstyle will survive

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.